Hi, there is a small memory leak in the MPEG-TS stream detection code: When auto_guess is used in the MPEG-TS demuxer, PESContext structures which do not really belong to PES streams are not freed at the end, because they do not get referenced by the AVStreams. The attached patch fixes the leak by freeing all PESContexts without a corresponding stream. -- Jindrich Makovicka
On Mon, Nov 10, 2008 at 15:04, Jindrich Makovicka <makovick at gmail.com> wrote:
Hi,
there is a small memory leak in the MPEG-TS stream detection code:
When auto_guess is used in the MPEG-TS demuxer, PESContext structures which do not really belong to PES streams are not freed at the end, because they do not get referenced by the AVStreams.
The attached patch fixes the leak by freeing all PESContexts without a corresponding stream.
ping? -- Jindrich Makovicka
On Mon, Nov 24, 2008 at 02:45:49PM +0100, Jindrich Makovicka wrote:
On Mon, Nov 10, 2008 at 15:04, Jindrich Makovicka <makovick at gmail.com> wrote:
Hi,
there is a small memory leak in the MPEG-TS stream detection code:
When auto_guess is used in the MPEG-TS demuxer, PESContext structures which do not really belong to PES streams are not freed at the end, because they do not get referenced by the AVStreams.
The attached patch fixes the leak by freeing all PESContexts without a corresponding stream.
ping?
I think you should threaten to apply this in a few days [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
Michael Niedermayer <michaelni at gmx.at> writes:
On Mon, Nov 24, 2008 at 02:45:49PM +0100, Jindrich Makovicka wrote:
On Mon, Nov 10, 2008 at 15:04, Jindrich Makovicka <makovick at gmail.com> wrote:
Hi,
there is a small memory leak in the MPEG-TS stream detection code:
When auto_guess is used in the MPEG-TS demuxer, PESContext structures which do not really belong to PES streams are not freed at the end, because they do not get referenced by the AVStreams.
The attached patch fixes the leak by freeing all PESContexts without a corresponding stream.
ping?
I think you should threaten to apply this in a few days
Sorry, I've missed it. Patch looks OK. -- M?ns Rullg?rd mans at mansr.com
On Tue, Feb 03, 2009 at 07:45:51PM +0000, M?ns Rullg?rd wrote:
Michael Niedermayer <michaelni at gmx.at> writes:
On Mon, Nov 24, 2008 at 02:45:49PM +0100, Jindrich Makovicka wrote:
On Mon, Nov 10, 2008 at 15:04, Jindrich Makovicka <makovick at gmail.com> wrote:
Hi,
there is a small memory leak in the MPEG-TS stream detection code:
When auto_guess is used in the MPEG-TS demuxer, PESContext structures which do not really belong to PES streams are not freed at the end, because they do not get referenced by the AVStreams.
The attached patch fixes the leak by freeing all PESContexts without a corresponding stream.
ping?
I think you should threaten to apply this in a few days
Sorry, I've missed it. Patch looks OK.
thanks and patch applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus
participants (3)
-
makovick@gmail.com -
mans@mansr.com -
michaelni@gmx.at