Commit bdd745da authored by Michael Niedermayer's avatar Michael Niedermayer

Forgot this, which is needed for merging field pics too.

Originally committed as revision 12161 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 21da962c
......@@ -103,14 +103,6 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
s->repeat_pict = 1;
}
}
/* the packet only represents half a frame
XXX,FIXME maybe find a different solution */
if(picture_structure != 3){
s->repeat_pict = -1;
s->parity = picture_structure-1;
}else
s->parity = !top_field_first;
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment