changeset 5989:3de601aa9786 libavformat

Fix off-by-one errors in description of score_max argument for av_probe_input_format2
author reimar
date Sat, 01 May 2010 15:36:51 +0000
parents 10867093c93c
children d52b769af700
files avformat.h
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Sat May 01 13:49:35 2010 +0000
+++ b/avformat.h	Sat May 01 15:36:51 2010 +0000
@@ -892,9 +892,10 @@
  *
  * @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);