Mercurial > libavformat.hg
changeset 5186:cbaefd9135ac libavformat
Slighty tweak mp3 probe threshold to prevent probetest from complaining.
author | michael |
---|---|
date | Mon, 14 Sep 2009 23:03:33 +0000 |
parents | 0c742c9c4aa7 |
children | 0394dceb230f |
files | mp3.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mp3.c Mon Sep 14 22:03:07 2009 +0000 +++ b/mp3.c Mon Sep 14 23:03:33 2009 +0000 @@ -60,7 +60,7 @@ if(buf == buf0) first_frames= frames; } - if (first_frames>=3) return AVPROBE_SCORE_MAX/2+1; + if (first_frames>=4) return AVPROBE_SCORE_MAX/2+1; else if(max_frames>500)return AVPROBE_SCORE_MAX/2; else if(max_frames>=4) return AVPROBE_SCORE_MAX/4; else if(buf0!=p->buf) return AVPROBE_SCORE_MAX/4-1;