Mercurial > libavcodec.hg
diff mpeg12.c @ 1348:8f613147c6cb libavcodec
mpeg 2 seeking fix
author | michaelni |
---|---|
date | Mon, 07 Jul 2003 11:25:31 +0000 |
parents | 44c94325810c |
children | 0fd38b711f06 |
line wrap: on
line diff
--- a/mpeg12.c Mon Jul 07 11:19:18 2003 +0000 +++ b/mpeg12.c Mon Jul 07 11:25:31 2003 +0000 @@ -2304,6 +2304,9 @@ 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) {