Commit 4af5e4ef authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

fix msmpeg4 seek

Originally committed as revision 68 to svn://
parent 0cfa9713
......@@ -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;
#ifdef DEBUG
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment