[FFmpeg-devel] [PATCH] flvdec: Remove AVFMTCTX_NOHEADER if both flags and metadata claim 1 stream
michaelni at gmx.at
Thu Sep 8 00:30:58 CEST 2011
On Wed, Sep 07, 2011 at 11:18:07PM +0100, Asad Mehmood wrote:
> 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.
patch locally applied, ill push after a bit of testing
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The misfortune of the wise is better than the prosperity of the fool.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel