Commit 0fd8733b authored by aurel's avatar aurel

vp5: don't try decoding a P frame before any I frame was parsed

fix issue802


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16813 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c6385165
......@@ -64,7 +64,8 @@ static int vp5_parse_header(VP56Context *s, const uint8_t *buf, int buf_size,
avcodec_set_dimensions(s->avctx, 16*cols, 16*rows);
return 2;
}
}
} else if (!s->macroblocks)
return 0;
return 1;
}
......
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