summaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-03-21 22:52:33 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-03-22 19:41:09 +0100
commit0f95270afe694470464772db46d7df0fe2922629 (patch)
tree1a4afc06d968ead9ec4b2efd5a52f4bcf0639658 /libavcodec/vc1.c
parentf6b78638086beae9bcab672d4c9de1790be5a928 (diff)
downloadffmpeg-streaming-0f95270afe694470464772db46d7df0fe2922629.zip
ffmpeg-streaming-0f95270afe694470464772db46d7df0fe2922629.tar.gz
VC1: Fix skiploopfilter=all.
It is currently only handled in the parser code for WMV/ASF style header, but not the one used in the bytestream format used when muxed into MPEG-TS as on e.g. BluRay. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index c5979f4..937fc1a 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -535,6 +535,8 @@ int ff_vc1_decode_entry_point(AVCodecContext *avctx, VC1Context *v, GetBitContex
v->panscanflag = get_bits1(gb);
v->refdist_flag = get_bits1(gb);
v->s.loop_filter = get_bits1(gb);
+ if (v->s.avctx->skip_loop_filter >= AVDISCARD_ALL)
+ v->s.loop_filter = 0;
v->fastuvmc = get_bits1(gb);
v->extended_mv = get_bits1(gb);
v->dquant = get_bits(gb, 2);
OpenPOWER on IntegriCloud