[haiku-bugs] Re: [Haiku] #9945: BMediaFile leaks ca. 100 KB

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Wed, 04 Sep 2013 15:00:33 -0000

#9945: BMediaFile leaks ca. 100 KB
------------------------------------+----------------------------
   Reporter:  ttcoder               |      Owner:  nobody
       Type:  bug                   |     Status:  new
   Priority:  high                  |  Milestone:  R1
  Component:  Audio & Video/Codecs  |    Version:  R1/Development
 Resolution:                        |   Keywords:  ffmpeg
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by phoudoin):

 The "pmff" tag seems to be the misc's ffmpeg media format we set by
 default in the global codec media formats table, gAVCodecFormats:

 http://haiku.it.su.se:8180/source/xref/src/add-
 ons/media/plugins/ffmpeg/CodecTable.cpp#30

 It's a 1024 entries table of media_format, which could be related to those
 ~100kb heap memory leak. Maybe somewhere we leak it somehow, in particular
 when ffmpeg plugin is unloaded while still somewhat used.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9945#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: