diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-05-01 15:36:51 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-05-01 15:36:51 +0000 |
commit | c99d506b3b9dd704acabb05636b57f56554f9378 (patch) | |
tree | 0ed29d150d3ebfc3769d78bbd62538c3b4356b3b /libavformat/avformat.h | |
parent | d0eb2b784936f0b497c9f3add3b0a52ff48dddbc (diff) | |
download | ffmpeg-c99d506b3b9dd704acabb05636b57f56554f9378.tar.gz |
Fix off-by-one errors in description of score_max argument for
av_probe_input_format2
Originally committed as revision 23004 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a0fa4c2ca0..9928e84dad 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -892,9 +892,10 @@ AVInputFormat *av_probe_input_format(AVProbeData *pd, int is_opened); * * @param is_opened Whether the file is already opened; determines whether * demuxers with or without AVFMT_NOFILE are probed. - * @param score_max minimum score required to accept a detection, set to actual - * detection score afterwards. - * If the score is < AVPROBE_SCORE_MAX / 4 it is recommended + * @param score_max A probe score larger that this is required to accept a + * detection, the variable is set to the actual detection + * score afterwards. + * If the score is <= AVPROBE_SCORE_MAX / 4 it is recommended * to retry with a larger probe buffer. */ AVInputFormat *av_probe_input_format2(AVProbeData *pd, int is_opened, int *score_max); |