summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-11 13:06:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-11 13:55:09 +0200
commit7b5c03064df522aef027490c51af8136ed5f17b3 (patch)
treef653c210aff5ee572b6ebf20bb0fb1979e1eb41a /libavcodec/vc1.c
parent4509be3d2f46a52ada8e2ecb476faed93e19abf3 (diff)
downloadffmpeg-7b5c03064df522aef027490c51af8136ed5f17b3.tar.gz
vc1: enable interlaced p fields again, they seem no longer to crash with out of array writes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 8d7b1c1ed7..d715ffefe8 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -987,8 +987,6 @@ int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
break;
case AV_PICTURE_TYPE_P:
if (v->field_mode) {
- av_log(v->s.avctx, AV_LOG_ERROR, "P Fields do not work currently\n");
- return -1;
v->numref = get_bits1(gb);
if (!v->numref) {
v->reffield = get_bits1(gb);