提交 7d587359 编写于 作者: M Michael Niedermayer

small mjpeg fix by (James Stembridge <jstembridge at users dot sourceforge dot net>)

Originally committed as revision 2512 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 278de475
......@@ -1874,6 +1874,9 @@ not_the_end:
}
}
the_end:
if(buf_ptr > buf_end)
buf_ptr = buf_end;
dprintf("mjpeg decode frame unused %d bytes\n", buf_end - buf_ptr);
// return buf_end - buf_ptr;
return buf_ptr - buf;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册