From e0f8be6413b6a8d334d6052e610af32935c310af Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 25 Mar 2013 16:12:51 +0100 Subject: avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate --- libavformat/omadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/omadec.c') diff --git a/libavformat/omadec.c b/libavformat/omadec.c index b932ec33d0..4f9c49f611 100644 --- a/libavformat/omadec.c +++ b/libavformat/omadec.c @@ -428,7 +428,7 @@ static int oma_read_probe(AVProbeData *p) /* This check cannot overflow as tag_len has at most 28 bits */ if (p->buf_size < tag_len + 5) /* EA3 header comes late, might be outside of the probe buffer */ - return AVPROBE_SCORE_MAX / 2; + return AVPROBE_SCORE_EXTENSION; buf += tag_len; -- cgit v1.2.3