mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user