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

Michael Niedermayer michaelni at gmx.at
Mon Mar 10 05:04:52 CET 2014


On Sat, Mar 08, 2014 at 09:54:06PM +0100, Nicolas George wrote:
> 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.
> 
> Regards,
> 
> -- 
>   Nicolas George

>  doc/demuxers.texi       |   14 +++++-
>  libavformat/concatdec.c |  106 ++++++++++++++++++++++++++++++++++++++++--------
>  2 files changed, 103 insertions(+), 17 deletions(-)
> 1f5d8cddec8dc6097b8523b7819defc2d9d417eb  0001-lavf-concatdec-allow-to-match-streams-by-id.patch
> From 22496c1bc887c2ae92533e63a9c9a85a39dadd2f Mon Sep 17 00:00:00 2001
> From: Nicolas George <george at nsup.org>
> Date: Wed, 26 Feb 2014 20:22:46 +0100
> Subject: [PATCH] lavf/concatdec: allow to match streams by id.
> 
> That makes the concat demuxer usable with MPEG-PS streams,
> even when the streams in the different parts are detected
> in different order.

should be fine, you are the author of concatdec

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- 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/20140310/4ce1f50a/attachment.asc>


More information about the ffmpeg-devel mailing list