From df23d64e0781a6b7389a1dd2627c65f7cb131278 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 19 Apr 2012 10:43:46 +0200 Subject: [PATCH] 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 --- libavcodec/h263dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 50699c7695..ac0303de7b 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");