aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/intelh263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-03 14:41:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-09 21:36:19 +0200
commit62133b38ed043b57eeecbe7fc8b6f187fd92e5e0 (patch)
tree2e559261db1569d3915452fc5b9a6ca1e75c361b /libavcodec/intelh263dec.c
parent6b14563c0e7848992a5fe70a80135fe090bfad51 (diff)
downloadffmpeg-62133b38ed043b57eeecbe7fc8b6f187fd92e5e0.tar.gz
h263: disable loop filter with lowresn0.6.6
Fixes ticket1212 Found-by: Piotr Bandurski <ami_stuff@o2.pl> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit cc229d4e83889d1298f1a0863b55feec6c5c339a) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/intelh263dec.c')
-rw-r--r--libavcodec/intelh263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/intelh263dec.c b/libavcodec/intelh263dec.c
index 5e451294da..182b4955cc 100644
--- a/libavcodec/intelh263dec.c
+++ b/libavcodec/intelh263dec.c
@@ -72,7 +72,7 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s)
}
if(get_bits(&s->gb, 2))
av_log(s->avctx, AV_LOG_ERROR, "Bad value for reserved field\n");
- s->loop_filter = get_bits1(&s->gb);
+ s->loop_filter = get_bits1(&s->gb) * !s->avctx->lowres;
if(get_bits1(&s->gb))
av_log(s->avctx, AV_LOG_ERROR, "Bad value for reserved field\n");
if(get_bits1(&s->gb))