Commit bb33d277 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2512 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9e40a242
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment