mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
278de4755d
commit
7d58735942
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue