[FFmpeg-devel] [PATCH]Check if free atoms in mov are actually moov atoms
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Jun 1 12:39:37 CEST 2014
Robert Krüger <krueger <at> lesspain.de> writes:
> On Sat, May 31, 2014 at 10:29 AM, Carl Eugen Hoyos wrote:
> > On Thursday 06 March 2014 01:29:13 pm Carl Eugen Hoyos wrote:
> >> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> >> > Attached patch fixes ticket #1551, this is how vlc decodes
> >> > the sample.
> > New patch attached.
> Do I understand it correctly that this now happens by default? This
> might be a problem for api users who use libav* to determine if
> something is a valid file, because it will now treat an invalid file
> as a valid file.
This was FFmpeg's behaviour since forever, think of
transport streams without PAT/PMT, avi files without
index or wav files that don't conform to the spec.
You will also find that decoders accept invalid (audio
or video) streams, often without any warning.
More information about the ffmpeg-devel