diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-05 12:29:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-05 12:31:03 +0200 |
commit | f083b4c33883719861c3055033dd35ffce73c6e0 (patch) | |
tree | ba495eb53dd501257ee76a988c1f0bb27f555a9a /libavformat/spdifdec.c | |
parent | 77570facdb41233a6fef9d8861023b1eeffe361f (diff) | |
parent | e0f8be6413b6a8d334d6052e610af32935c310af (diff) | |
download | ffmpeg-f083b4c33883719861c3055033dd35ffce73c6e0.tar.gz |
Merge commit 'e0f8be6413b6a8d334d6052e610af32935c310af'
* commit 'e0f8be6413b6a8d334d6052e610af32935c310af':
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Conflicts:
libavformat/ac3dec.c
libavformat/avformat.h
libavformat/avs.c
libavformat/m4vdec.c
libavformat/mov.c
libavformat/mp3dec.c
libavformat/mpeg.c
libavformat/mpegvideodec.c
libavformat/psxstr.c
libavformat/pva.c
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/spdifdec.c')
-rw-r--r-- | libavformat/spdifdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/spdifdec.c b/libavformat/spdifdec.c index 726a85cbe5..69843503b0 100644 --- a/libavformat/spdifdec.c +++ b/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) |