[Ffmpeg-devel] [BUG] false MP3 positives on GIF files

Michael Niedermayer michaelni
Tue Sep 12 21:57:21 CEST 2006


Hi

On Mon, Sep 11, 2006 at 08:03:50PM +0200, Andreas ?man wrote:
> Hi,
> 
> V?ctor Paesa wrote:
> >Hi,
> >
> >I'm afraid the r6225 commit is giving false MP3 positives on GIF files,
> >because SVN-r6229 reports as mp3 what SVN-r6193 would happily process
> >as GIF:
> >
> 
> The problem is that the new mp3-probe returns a score of 1 when it
> finds just one sequence of bytes that seems to be an mp3-frame header.
> It is probably a bit too naive and therefore i suggest we remove that.
> 
> This in combination with how watermark.c works (first try autoprobe, 
> then try by filename-extension) exposes the bug.

file extension should have a score of MAX/2 (=50) if thats not the case
its a bug

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list