# HG changeset patch # User alexc # Date 1233859266 0 # Node ID 0b688ff86d2f820463592a22adfac904ba3b8a01 # Parent 78e03e2c698de67382d30e3bf342fbcf2df0c2bd Make the MP3 probe weakly claim all files with ID3v2 tags to fix regressions on files with very large tags. diff -r 78e03e2c698d -r 0b688ff86d2f mp3.c --- a/mp3.c Thu Feb 05 18:32:42 2009 +0000 +++ b/mp3.c Thu Feb 05 18:41:06 2009 +0000 @@ -391,6 +391,7 @@ if (first_frames>=3) return AVPROBE_SCORE_MAX/2+1; else if(max_frames>500)return AVPROBE_SCORE_MAX/2; else if(max_frames>=3) return AVPROBE_SCORE_MAX/4; + else if(buf0!=p->buf) return AVPROBE_SCORE_MAX/4-1; else if(max_frames>=1) return 1; else return 0; }