Commit d8add533 authored by michael's avatar michael

Override a few values read so as to ensure that things are not inconsistent.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20654 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 513e0026
......@@ -1545,6 +1545,13 @@ static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1)
s->chroma_420_type = get_bits1(&s->gb);
s->progressive_frame = get_bits1(&s->gb);
if(s->progressive_sequence)
s->progressive_frame= 1;
if(s->progressive_frame){
s->picture_structure= PICT_FRAME;
s->frame_pred_frame_dct= 1;
}
if(s->picture_structure == PICT_FRAME){
s->first_field=0;
s->v_edge_pos= 16*s->mb_height;
......
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