summaryrefslogtreecommitdiff
path: root/libavformat/dtsdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-25 16:12:51 +0100
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:43:06 +0200
commite0f8be6413b6a8d334d6052e610af32935c310af (patch)
tree1548e782ae23ad6e46225593b96928a85d1286a5 /libavformat/dtsdec.c
parent4d7ed3e73541983459a7913c2034eba69ebc113d (diff)
downloadffmpeg-e0f8be6413b6a8d334d6052e610af32935c310af.tar.gz
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/dtsdec.c')
-rw-r--r--libavformat/dtsdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dtsdec.c b/libavformat/dtsdec.c
index 28cccd320a..9010711599 100644
--- a/libavformat/dtsdec.c
+++ b/libavformat/dtsdec.c
@@ -60,7 +60,7 @@ static int dts_probe(AVProbeData *p)
max = markers[2] > markers[max] ? 2 : max;
if (markers[max] > 3 && p->buf_size / markers[max] < 32*1024 &&
markers[max] * 4 > sum * 3)
- return AVPROBE_SCORE_MAX/2+1;
+ return AVPROBE_SCORE_EXTENSION + 1;
return 0;
}