---
libavcodec/pthread.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index 793a8b9..577329f 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -479,8 +479,7 @@ int ff_decode_frame_threaded(AVCodecContext *avctx,
if (returning_thread >= thread_count) returning_thread = 0;
} while (!buf_size && !*data_size && returning_thread != fctx->next_finished);
- err = update_context_from_copy(avctx, p->avctx, 1);
- if (err) return err;
+ update_context_from_copy(avctx, p->avctx, 1);
if (fctx->next_decoding >= thread_count) fctx->next_decoding = 0;
fctx->next_finished = returning_thread;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc