[FFmpeg-devel] [PATCH] fix flv new stream handling after head already parsed
Roman Arutyunyan
arutyunyan.roman at gmail.com
Sat Sep 1 11:04:57 CEST 2012
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(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-flv-new-stream-handling-after-head-already-parse.patch
Type: text/x-patch
Size: 1126 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120901/03901367/attachment.bin>
More information about the ffmpeg-devel
mailing list