projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cd7d19
)
Fix timestamp association for mpeg2 field pictures.
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 21 Feb 2010 23:22:51 +0000
(23:22 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 21 Feb 2010 23:22:51 +0000
(23:22 +0000)
Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob
Originally committed as revision 21949 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
7eddabc
..
09bac2d
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-2204,7
+2204,7
@@
int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size,
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);
}
}