Commit 40fa12bc authored by michael's avatar michael

Fix timestamp association for mpeg2 field pictures.

Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21949 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e274e84c
...@@ -2204,7 +2204,7 @@ int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size, ...@@ -2204,7 +2204,7 @@ int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size,
return i-3; return i-3;
} }
} }
if(s && state == PICTURE_START_CODE){ if(pc->frame_start_found == 0 && s && state == PICTURE_START_CODE){
ff_fetch_timestamp(s, i-3, 1); ff_fetch_timestamp(s, i-3, 1);
} }
} }
......
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