]> git.sesse.net Git - ffmpeg/commit
lavf/mov: Audio and fourcc 0x00000000
authorMats Peterson <matsp888@yahoo.com>
Fri, 8 Jan 2016 11:59:13 +0000 (12:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 8 Jan 2016 13:52:53 +0000 (14:52 +0100)
commit13d02d3dc81a3c14e2c910dfe52d1238d7b1d011
treeab3df9892cdb234784bc033259d47ec4bf8cfddc
parent53ada3af62d566bfd53dfc0a90b79cb91328615e
lavf/mov: Audio 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.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c