1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-03 17:59:59 +02:00

fix msmpeg4 seek

Originally committed as revision 68 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2001-08-11 19:01:04 +00:00
parent 0cfa9713f7
commit 4af5e4ef5e

View File

@ -107,6 +107,10 @@ static int h263_decode_frame(AVCodecContext *avctx,
if (ret < 0)
return -1;
/* make sure we start with an I-Frame */
if (!s->slice_height && (s->pict_type != I_TYPE))
return -1;
MPV_frame_start(s);
#ifdef DEBUG