summaryrefslogtreecommitdiff
path: root/libavformat/h264dec.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/h264dec.c
parent4d7ed3e73541983459a7913c2034eba69ebc113d (diff)
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/h264dec.c')
-rw-r--r--libavformat/h264dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/h264dec.c b/libavformat/h264dec.c
index 0c85bae6d4..7d3bb474f4 100644
--- a/libavformat/h264dec.c
+++ b/libavformat/h264dec.c
@@ -63,7 +63,7 @@ static int h264_probe(AVProbeData *p)
}
}
if(sps && pps && (idr||sli>3) && res<(sps+pps+idr))
- return AVPROBE_SCORE_MAX/2+1; // +1 for .mpg
+ return AVPROBE_SCORE_EXTENSION + 1; // 1 more than .mpg
return 0;
}