[FFmpeg-devel] [PATCH 2/2] avformat/astdec: return max score from probe after fixing probetest missdetections
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Nov 7 08:22:16 CET 2013
On 06.11.2013, at 23:59, Michael Niedermayer <michaelni at gmx.at> wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libavformat/astdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/astdec.c b/libavformat/astdec.c
> index 12252dc..ddc685a 100644
> --- a/libavformat/astdec.c
> +++ b/libavformat/astdec.c
> @@ -35,7 +35,7 @@ static int ast_probe(AVProbeData *p)
> !AV_RB32(p->buf + 16) || AV_RB32(p->buf + 16) > 8*48000)
> return 1;
>
> - return AVPROBE_SCORE_MAX / 3 * 2;
> + return AVPROBE_SCORE_MAX;
Both look ok to me, though personally I feel max score is a bit high for the few things it checks...
More information about the ffmpeg-devel
mailing list