[FFmpeg-devel] [PATCH] qt-faststart: Clean up properly at all exit points

Martin Storsjö martin
Sat May 1 23:18:31 CEST 2010


On Sat, 1 May 2010, Martin Storsj? wrote:

> On Fri, 30 Apr 2010, Baptiste Coudurier wrote:
> 
> > On 04/30/2010 03:37 AM, Martin Storsj? wrote:
> > > Hi,
> > > 
> > > qt-faststart currently cleans up almost everything at all exit points, but
> > > misses freeing the ftyp_atom buffer.
> > > 
> > 
> > Ok, maybe goto common cleanup code would be better in the future.
> 
> Yeah, that would perhaps be a cleaner solution, I'll give it a try 
> shortly.

What about this? This makes the file 18 lines shorter.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-qt-faststart-Use-the-error_out-cleanup-code-path-for.patch
Type: text/x-diff
Size: 4867 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100502/04b75191/attachment.patch>



More information about the ffmpeg-devel mailing list