[FFmpeg-devel] [PATCH] lavf/concatdec: allow to match streams by id.

Nicolas George george at nsup.org
Sat Mar 8 21:54:06 CET 2014

Le duodi 12 ventôse, an CCXXII, Michael Niedermayer a écrit :
> there are 2 returns in there
> the first happens when the realloc failed and the original buffer is
> still allocated
> the second happens later when the original has been freed and the
> new buffer has not been returned to the user

You are absolutely right. Updated version attached, with just the array
assignment moved just after the reallocation.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-concatdec-allow-to-match-streams-by-id.patch
Type: text/x-diff
Size: 7383 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140308/14e4a4b3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140308/14e4a4b3/attachment.asc>

More information about the ffmpeg-devel mailing list