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

Måns Rullgård mans
Mon Jun 25 21:47:02 CEST 2007


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> On Mon, Jun 25, 2007 at 06:54:15PM +0100, M?ns Rullg?rd wrote:
>> 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.
>
> i think this may have some unintended side effect
> that is some users will make strict -1 default somehow and then also
> use it for encoding unintentionally which will create more non standard
> files ...

Naturally a big, fat warning should be issued if encoding a
nonstandard file.

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




More information about the ffmpeg-devel mailing list