[FFmpeg-devel] [PATCH] tta: do not leak memory if bps == 3
Paul B Mahol
onemda at gmail.com
Sat Feb 11 00:07:41 CET 2012
On 2/10/12, Reimar Doeffinger <Reimar.Doeffinger at gmx.de> wrote:
> On Fri, Feb 10, 2012 at 10:41:48PM +0000, Paul B Mahol wrote:
>> In bps == 3 case output is decoded directly.
> Huh? The free is called unconditionally, so there should be no leak.
> Obviously it make sense to not needlessly allocate this buffer,
> but I can't see how this would fix a leak as the subject claims...
decode_buffer is overwritten in bps == 3 case.
More information about the ffmpeg-devel