[FFmpeg-devel] [PATCH] play aiff without common tag

Måns Rullgård mans
Mon Jun 25 19:54:15 CEST 2007


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> On Mon, Jun 25, 2007 at 07:21:20PM +0200, Michael Niedermayer wrote:
>> Hi
>> 
>> On Mon, Jun 25, 2007 at 05:51:59PM +0200, Reimar D?ffinger wrote:
>> > Hello,
>> > attached patch fixes
>> > http://samples.mplayerhq.hu/AIFF/invalid_nocommon.aiff.
>> > While according to the specification says this file invalid I think it
>> > is preferable to support it anyway, esp. because leaving values
>> > uninitialized and even causing a division by zero is really bad anyway
>> > (and it even leaves e.g. MPlayer thinking this is a video file...).
>> 
>> looks ok
>
> hmm ive just noticed baptiste is maintainer of aiff ...
> so its his decission
>
> but id like to repeat that ffmpeg CANNOT reject files just because they
> are not conforming to specs, we would be rejecting >50% of all files
> otherwise and ffmpeg would be unuseable

For uncommon types of nonconformance we should fail with an error
unless -strict -1 was specified.

More common errors we can let pass with just a warning at strictness
level 0, but no higher.  This is only to reduce the support burden
for people too lazy to read and follow instructions.  Ideally we
should not tolerate any deviation from spec by default.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list