[FFmpeg-trac] #4819(avcodec:new): av_register_all() memory leak

FFmpeg trac at avcodec.org
Tue Sep 1 17:33:05 CEST 2015

#4819: av_register_all() memory leak
             Reporter:  joeallen      |                    Owner:
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avcodec
              Version:  unspecified   |               Resolution:
             Keywords:  libx265 leak  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |

Comment (by gjdfgh):

 >What did you mean by "av_register_all() is a broken concept?"

 In a perfect world, this API call wouldn't exist. Because it's useless and
 changes global state.

 But as it is, you have to call it once, and if it leaks 100 bytes, so

 (Though the underlying issue is just with dlopen(), which it not directly
 related, but maybe unavoidable as well.)

Ticket URL: <https://trac.ffmpeg.org/ticket/4819#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list