You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
fix msmpeg4 seek
Originally committed as revision 68 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -107,6 +107,10 @@ static int h263_decode_frame(AVCodecContext *avctx,
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return -1;
|
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);
|
MPV_frame_start(s);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Reference in New Issue
Block a user