aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-10 16:15:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-10 16:15:23 +0000
commit65d7d68b9970e03ba43832b40ca0817919748c07 (patch)
treed272e0e631dc86a4d89e32250109d4cff543a2ad /libavformat/avformat.h
parentd1a4544de904cc76fea32d9d22252152ebb18edb (diff)
downloadffmpeg-65d7d68b9970e03ba43832b40ca0817919748c07.tar.gz
mention AVPROBE_PADDING_SIZE at the read_probe() doxy
Originally committed as revision 10061 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index ea93e85f08..6a73e76096 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -197,7 +197,11 @@ typedef struct AVInputFormat {
const char *long_name;
/** size of private data so that it can be allocated in the wrapper */
int priv_data_size;
- /** tell if a given file has a chance of being parsed by this format */
+ /**
+ * tell if a given file has a chance of being parsed by this format.
+ * The buffer provided is guranteed to be AVPROBE_PADDING_SIZE bytes big
+ * so you dont have to check for that unless you need more.
+ */
int (*read_probe)(AVProbeData *);
/** read the format header and initialize the AVFormatContext
structure. Return 0 if OK. 'ap' if non NULL contains