[FFmpeg-devel] [PATCH] fix flv new stream handling after head already parsed

Michael Niedermayer michaelni at gmx.at
Sat Sep 1 17:57:18 CEST 2012


On Sat, Sep 01, 2012 at 01:04:57PM +0400, Roman Arutyunyan wrote:
> This fixes stream lookup in flv demuxer. When used with librtmp
> protocol streams are sometimes added after head arrived. If the
> first stream added in flv header reader is Audio stream then it
> is messed with Video stream added later in the code patched. 
> The result is I have 2 Audio streams (first of them is said to have 
> a video codec like h264) instead of Audio/Video pair.
> ---
>  libavformat/flvdec.c |   10 ++++++----
>  1 files changed, 6 insertions(+), 4 deletions(-)
>

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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/20120901/39086d34/attachment.asc>


More information about the ffmpeg-devel mailing list