summaryrefslogtreecommitdiff
path: root/chromium/third_party/ffmpeg/libavformat/spdifdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavformat/spdifdec.c')
-rw-r--r--chromium/third_party/ffmpeg/libavformat/spdifdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/ffmpeg/libavformat/spdifdec.c b/chromium/third_party/ffmpeg/libavformat/spdifdec.c
index 726a85cbe58..69843503b00 100644
--- a/chromium/third_party/ffmpeg/libavformat/spdifdec.c
+++ b/chromium/third_party/ffmpeg/libavformat/spdifdec.c
@@ -154,10 +154,10 @@ int ff_spdif_probe(const uint8_t *p_buf, int buf_size, enum AVCodecID *codec)
if (sync_codes >= 6)
/* good amount of sync codes but with unexpected offsets */
- return AVPROBE_SCORE_MAX / 2;
+ return AVPROBE_SCORE_EXTENSION;
/* some sync codes were found */
- return AVPROBE_SCORE_MAX / 8;
+ return AVPROBE_SCORE_EXTENSION / 4;
}
static int spdif_read_header(AVFormatContext *s)