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>
This commit is contained in:
Michael Niedermayer 2011-10-11 13:06:30 +02:00
parent 4509be3d2f
commit 7b5c03064d

View File

@ -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);