From: Di Wu
Multi-thread decoding doesn't work when refreshctx is equal to 0. Fix
it by call ff_thread_finish_setup function in the condition when
refreshctx is equal to 0.
In vp9_decode_frame function, ff_thread_finish_setup is not called
when refreshctx is equal to 0. The next decoding thread
From: Di Wu
Add the judement after create a new program to avoid segment fault.
Signed-off-by: Di Wu
---
libavformat/mpegts.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 8808269..cc0ce79 100644
--- a/libavformat