Commit 2a5f353b authored by glantau's avatar glantau

fix got_picture output


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@99 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 35301a8e
......@@ -875,11 +875,11 @@ static int mjpeg_decode_frame(AVCodecContext *avctx,
int len, code, start_code, input_size, i;
AVPicture *picture = data;
*data_size = 0;
/* no supplementary picture */
if (buf_size == 0) {
*data_size = 0;
if (buf_size == 0)
return 0;
}
buf_ptr = buf;
buf_end = buf + buf_size;
......
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