Commit ba2e47cd authored by michael's avatar michael

segfault fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2764 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 12e993c9
......@@ -1056,6 +1056,12 @@ static int indeo3_decode_frame(AVCodecContext *avctx,
unsigned char *src, *dest;
int y;
/* no supplementary picture */
if (buf_size == 0) {
*data_size = 0;
return 0;
}
iv_decode_frame(s, buf, buf_size);
if(s->frame.data[0])
......
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