提交 9d02db7a 编写于 作者: F Fabrice Bellard

fix got_picture output


Originally committed as revision 99 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 bf89e6b1
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册