[FFmpeg-devel] [PATCH] Fix buffer resizing after probe done.
vagran.ast at gmail.com
Wed Dec 19 14:40:56 EET 2018
I have this assert fired after probing done and frames are normally
read: "av_assert0(len >= s->orig_buffer_size);". Buffer size after
probing ended up with ~5MB, orig_buffer_size was 64K. This place looks
like total mess, it definitely has a bug with incorrect len modification
even if buffer was not resize (failure to do so was ignored as well). I
did not get what is the purpose of "s->buf_ptr != dst" check as well as
this assert itself, so I removed them, this code really needs some
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1956 bytes
Desc: not available
More information about the ffmpeg-devel