[FFmpeg-devel] [PATCH] flvdec: Remove AVFMTCTX_NOHEADER if both flags and metadata claim 1 stream
asad78611 at googlemail.com
Thu Sep 8 00:18:07 CEST 2011
I've come up with an updated patch ... I've looked through my flv's
and noticed that all of them contain metadata with audiocodecid and
videocodecid, even if the flv contains no audio.
According to spec audiocodecid should be a number. In the flv's with
no audio audiocodecid is an empty AMF OBJECT.
I believe this patch is better than checking for hasAudio or hasVideo.
If someone has an flv with a single stream and the codecid is not an
AMF OBJECT. I would like to know.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1427 bytes
Desc: not available
More information about the ffmpeg-devel