mirror of https://git.ffmpeg.org/ffmpeg.git
Merge remote-tracking branch 'qatar/master'
* qatar/master: aac: K&R formatting cosmetics Conflicts: libavformat/aacdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b5bdd04f08
|
@ -55,11 +55,17 @@ static int adts_aac_probe(AVProbeData *p)
|
|||
if (buf == buf0)
|
||||
first_frames = frames;
|
||||
}
|
||||
if (first_frames>=3) return AVPROBE_SCORE_EXTENSION + 1;
|
||||
else if(max_frames>500)return AVPROBE_SCORE_EXTENSION;
|
||||
else if(max_frames>=3) return AVPROBE_SCORE_EXTENSION / 2;
|
||||
else if(max_frames>=1) return 1;
|
||||
else return 0;
|
||||
|
||||
if (first_frames >= 3)
|
||||
return AVPROBE_SCORE_EXTENSION + 1;
|
||||
else if (max_frames > 500)
|
||||
return AVPROBE_SCORE_EXTENSION;
|
||||
else if (max_frames >= 3)
|
||||
return AVPROBE_SCORE_EXTENSION / 2;
|
||||
else if (max_frames >= 1)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int adts_aac_read_header(AVFormatContext *s)
|
||||
|
|
Loading…
Reference in New Issue