diff options
author | Dustin Brody <libav@parsoma.net> | 2011-12-07 17:51:36 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-12-12 22:42:50 +0400 |
commit | 5b22d6e1323989b078ad097c5b50dddbbf0fe251 (patch) | |
tree | e0849f4ac32349b89bd198b3eb8d55e26a7470b1 /libavcodec/h263dec.c | |
parent | f6cf4be821e1901d983233edff8e22fe310fd6f6 (diff) |
lavc: convert error_recognition to err_recognition.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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 48f8240bc8..71ff2feac4 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -310,7 +310,7 @@ static int decode_slice(MpegEncContext *s){ max_extra+= 17; /* buggy padding but the frame should still end approximately at the bitstream end */ - if((s->workaround_bugs&FF_BUG_NO_PADDING) && s->error_recognition>=3) + if((s->workaround_bugs&FF_BUG_NO_PADDING) && (s->err_recognition&AV_EF_BUFFER)) max_extra+= 48; else if((s->workaround_bugs&FF_BUG_NO_PADDING)) max_extra+= 256*256*256*64; |