comparison avformat.h @ 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 b6114dd198a9
comparison
equal deleted inserted replaced
5988:10867093c93c 5989:3de601aa9786
890 /** 890 /**
891 * Guesses the file format. 891 * Guesses the file format.
892 * 892 *
893 * @param is_opened Whether the file is already opened; determines whether 893 * @param is_opened Whether the file is already opened; determines whether
894 * demuxers with or without AVFMT_NOFILE are probed. 894 * demuxers with or without AVFMT_NOFILE are probed.
895 * @param score_max minimum score required to accept a detection, set to actual 895 * @param score_max A probe score larger that this is required to accept a
896 * detection score afterwards. 896 * detection, the variable is set to the actual detection
897 * If the score is < AVPROBE_SCORE_MAX / 4 it is recommended 897 * score afterwards.
898 * If the score is <= AVPROBE_SCORE_MAX / 4 it is recommended
898 * to retry with a larger probe buffer. 899 * to retry with a larger probe buffer.
899 */ 900 */
900 AVInputFormat *av_probe_input_format2(AVProbeData *pd, int is_opened, int *score_max); 901 AVInputFormat *av_probe_input_format2(AVProbeData *pd, int is_opened, int *score_max);
901 902
902 /** 903 /**