diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-19 10:43:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-19 11:16:50 +0200 |
commit | df23d64e0781a6b7389a1dd2627c65f7cb131278 (patch) | |
tree | 9dd511332cf278d81dce4597cc1da4c5d71e7419 /libavcodec/h263dec.c | |
parent | 74e4bb691254e9d473bf1eac63ee7da4bbf0957e (diff) | |
download | ffmpeg-streaming-df23d64e0781a6b7389a1dd2627c65f7cb131278.zip ffmpeg-streaming-df23d64e0781a6b7389a1dd2627c65f7cb131278.tar.gz |
h263dec: always enable picture dimensions reverting check.
This does not need to be limited to threads and may help with error
resilience on single thread
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 50699c7..ac0303d 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -438,7 +438,7 @@ retry: ret = ff_h263_decode_picture_header(s); } - if (HAVE_THREADS && (s->avctx->active_thread_type&FF_THREAD_FRAME) && ret < 0) { + if (ret < 0) { if ( s->width != avctx->coded_width || s->height != avctx->coded_height) { av_log(s->avctx, AV_LOG_WARNING, "Reverting picture dimensions change due to header decoding failure\n"); |