summaryrefslogtreecommitdiff
path: root/ffmpeg/libavformat/loasdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavformat/loasdec.c')
-rw-r--r--ffmpeg/libavformat/loasdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffmpeg/libavformat/loasdec.c b/ffmpeg/libavformat/loasdec.c
index d3a8dbd..05ef0fe 100644
--- a/ffmpeg/libavformat/loasdec.c
+++ b/ffmpeg/libavformat/loasdec.c
@@ -52,9 +52,9 @@ static int loas_probe(AVProbeData *p)
if(buf == buf0)
first_frames= frames;
}
- if (first_frames>=3) return AVPROBE_SCORE_MAX/2+1;
- else if(max_frames>100)return AVPROBE_SCORE_MAX/2;
- else if(max_frames>=3) return AVPROBE_SCORE_MAX/4;
+ if (first_frames>=3) return AVPROBE_SCORE_EXTENSION+1;
+ else if(max_frames>100)return AVPROBE_SCORE_EXTENSION;
+ else if(max_frames>=3) return AVPROBE_SCORE_EXTENSION / 2;
else return 0;
}