[FFmpeg-devel] [PATCH] Fixed memory leak when using avformat_new_stream

Michael Niedermayer michaelni at gmx.at
Sun Jul 21 15:54:41 CEST 2013


On Thu, Jun 27, 2013 at 03:42:35PM +0530, Anshul wrote:
> On 06/27/2013 03:24 PM, Paul B Mahol wrote:
> >On 6/27/13, Anshul maheshwari <er.anshul.maheshwari at gmail.com> wrote:
> >>vimrc setting were not good, again made patch
> >You are top posting 2nd time, and patch should have space between "if"
> >and "(" in "if(".
> >
> >>On Thu, Jun 27, 2013 at 3:06 PM, Paul B Mahol <onemda at gmail.com> wrote:
> >>
> >>>On 6/27/13, Anshul maheshwari <er.anshul.maheshwari at gmail.com> wrote:
> >>>>---------- Forwarded message ----------
> >>>>From: Anshul maheshwari <er.anshul.maheshwari at gmail.com>
> >>>>Date: Thu, Jun 27, 2013 at 10:18 AM
> >>>>Subject: [FFmpeg-devel] (no subject)
> >>>>To: ffmpeg-devel at ffmpeg.org
> >>>>
> >>>>
> >>>>i was trying to solve ticket
> >>>>https://ffmpeg.org/trac/ffmpeg/ticket/2716
> >>>,
> >>>>i need to know  should i free those thngs in avformat_new_stream.
> >>>>or we should call av_codec_open  and avcodec_close to do that
> >>>>
> >>>>
> >>>>Anshul
> >>>>_______________________________________________
> >>>>ffmpeg-devel mailing list
> >>>>ffmpeg-devel at ffmpeg.org
> >>>>http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >>>>
> >>>>
> >>>>hi
> >>>>
> >>>>Mine previous patch was not made by git format-patch
> >>>>so i made it again...
> >>>Patch introduces different formatting.
> >>>
> >>>>thanks
> >>>>anshul
> >>>>
> >>>_______________________________________________
> >>>ffmpeg-devel mailing list
> >>>ffmpeg-devel at ffmpeg.org
> >>>http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >>>
> >_______________________________________________
> >ffmpeg-devel mailing list
> >ffmpeg-devel at ffmpeg.org
> >http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> i have tried again.
> 

>  utils.c |    3 +++
>  1 file changed, 3 insertions(+)
> eaca10606e5010b491a2a504d3a444176fb684c7  0001-Close-codec-context-since-it-is-allocated-by-avforma.patch
> From 6c2e09fe1949c6be22f70d277559c829b67a3399 Mon Sep 17 00:00:00 2001
> From: Anshul Maheshwari <er.anshul.maheshwari at gmail.com>
> Date: Thu, 27 Jun 2013 15:39:19 +0530
> Subject: [PATCH] Close codec context since it is allocated by
>  avformat_new_stream in refrence to ticket 2716

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130721/2fee942e/attachment.asc>


More information about the ffmpeg-devel mailing list