[FFmpeg-devel] [PATCH] fix flv new stream handling after head already parsed
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...
Size: 1126 bytes
Desc: not available
More information about the ffmpeg-devel