diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-07 11:25:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-07 11:25:31 +0000 |
commit | 05fd1577bee884fa8d39ae9f56c29c3bde88bf7d (patch) | |
tree | 48b74c50f8e8f73fae0f2bfd2288d22dcd295bac | |
parent | bd7d1ea76b6ee70a1b116a49f381b6efc9cc6ad9 (diff) | |
download | ffmpeg-05fd1577bee884fa8d39ae9f56c29c3bde88bf7d.tar.gz |
mpeg 2 seeking fix
Originally committed as revision 2018 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpeg12.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index e818bbcd12..8871769a3b 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2304,6 +2304,9 @@ static int mpeg_decode_frame(AVCodecContext *avctx, mpeg_decode_user_data(avctx, buf_ptr, input_size); break; + case GOP_START_CODE: + s2->first_field=0; + break; default: if (start_code >= SLICE_MIN_START_CODE && start_code <= SLICE_MAX_START_CODE) { |