[FFmpeg-trac] #942(swresample:closed): swresample leaks memory when sampling up

FFmpeg trac at avcodec.org
Mon Jan 30 21:39:09 CET 2012


#942: swresample leaks memory when sampling up
------------------------------------+--------------------------------------
             Reporter:  beafdefx    |                    Owner:  michael
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  swresample
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------
Changes (by reimar):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 You tell it to process 16000 samples and give it an output buffer of
 16000.
 Of you upsample, that input of 16000 will obviously give more than 16000
 samples after resampling, what do you expect to happen to those?
 Your "memleak" is the resampler taking care of all those samples you
 pushed in but never gave it a chance to return back out.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/942#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list