[FFmpeg-trac] #3194(avcodec:new): valgrind leak on example package

FFmpeg trac at avcodec.org
Wed Dec 11 13:10:09 CET 2013

#3194: valgrind  leak on example package
             Reporter:  andreyv     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  leak        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by andreyv):

 I can't see why those functions are leaking
 ==15887== by 0x84AFD9B: default_lockmgr_cb (utils.c:78)
 ==15887== by 0x84B867A: ff_lock_avcodec (utils.c:3240)
 ==15887== by 0x84B2500: avcodec_open2 (utils.c:1180)

 The leak is small 26bytes. However, if you open 1000 decoders or 10000 it
 converts to be not so small

Ticket URL: <https://trac.ffmpeg.org/ticket/3194#comment:10>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list