[FFmpeg-devel] [RFC]Improve adp detection

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 30 10:45:50 CET 2013

Paul B Mahol <onemda <at> gmail.com> writes:

> On 10/30/13, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:
> > Michael Niedermayer <michaelni <at> gmx.at> writes:
> >
> >> if you print them for the files we have do some of these 4bit
> >> values never occur ?
> >
> > I suspect only 0, 1, 2, 3 actually occur but that does not
> > help for the "000000000000000..." case or do I miss something?
> for 00000000000... case or any case you could check extension.

Do you mean "000000000..." is a valid adp file?

So far, my question was "how do I simplify the test?", it did 
not occur to me that the detection is actually correct.

Carl Eugen

More information about the ffmpeg-devel mailing list