aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.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/avidec.c
parent4d7ed3e73541983459a7913c2034eba69ebc113d (diff)
downloadffmpeg-e0f8be6413b6a8d334d6052e610af32935c310af.tar.gz
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index b235875c53..cf24e8c4e1 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -758,7 +758,7 @@ static int avi_read_header(AVFormatContext *s)
static int read_gab2_sub(AVStream *st, AVPacket *pkt) {
if (!strcmp(pkt->data, "GAB2") && AV_RL16(pkt->data+5) == 2) {
uint8_t desc[256];
- int score = AVPROBE_SCORE_MAX / 2, ret;
+ int score = AVPROBE_SCORE_EXTENSION, ret;
AVIStream *ast = st->priv_data;
AVInputFormat *sub_demuxer;
AVRational time_base;