mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
74e4bb6912
commit
df23d64e07
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user