[FFmpeg-devel] [PATCH] vp9:enable multi-thread decoding when refreshctx is equal to 0

2014-10-07 Thread di1028 . wu
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

[FFmpeg-devel] [PATCH] mpegts: add the judgement if a new program is ctreated successfully

2014-10-15 Thread di1028 . wu
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