[FFmpeg-devel] [PATCH v6] lavf/matroskadec: A_QUICKTIME and fourcc 0x00000000

Michael Niedermayer michael at niedermayer.cc
Fri Jan 8 14:12:41 CET 2016


On Fri, Jan 08, 2016 at 01:03:05PM +0100, Mats Peterson wrote:
> In many older QuickTime files, the audio format, or "fourcc", is
> 0x00000000. The QuickTime File Format Specification states the following
> regarding this situation:
> 
> "This format descriptor should not be used, but may be found in some
> files. Samples are assumed to be stored in either 'raw ' or 'twos'
> format, depending on the sample size field in the sound description."
> 
> MPlayer handles this logic by itself, but FFmpeg/FFplay currently does
> not.
> 
> Mats
> 
> -- 
> Mats Peterson
> http://matsp888.no-ip.org/~mats/

>  matroskadec.c |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 7a07b5c37987840d4cccc3a2710c854316bb31c1  0001-lavf-matroskadec-A_QUICKTIME-and-fourcc-0x00000000.patch
> From d8507d9b0645585d2d27c614f1f7d3347edf8733 Mon Sep 17 00:00:00 2001
> From: Mats Peterson <matsp888 at yahoo.com>
> Date: Fri, 8 Jan 2016 12:55:59 +0100
> Subject: [PATCH v6] lavf/matroskadec: A_QUICKTIME and fourcc 0x00000000
> 
> In many older QuickTime files, the audio format, or "fourcc", is
> 0x00000000. The QuickTime File Format Specification states the following
> regarding this situation:
> 
> "This format descriptor should not be used, but may be found in some
> files. Samples are assumed to be stored in either 'raw ' or 'twos'
> format, depending on the sample size field in the sound description."
> 
> MPlayer handles this logic by itself, but FFmpeg/FFplay currently does
> not.
> 
> Mats
> 
> ---
>  libavformat/matroskadec.c |    9 +++++++++
>  1 file changed, 9 insertions(+)

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160108/6c3b0c8a/attachment.sig>


More information about the ffmpeg-devel mailing list