Commit 3c069bfc authored by michael's avatar michael

mention AVPROBE_PADDING_SIZE at the read_probe() doxy


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10061 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d7a0f3d9
...@@ -197,7 +197,11 @@ typedef struct AVInputFormat { ...@@ -197,7 +197,11 @@ typedef struct AVInputFormat {
const char *long_name; const char *long_name;
/** size of private data so that it can be allocated in the wrapper */ /** size of private data so that it can be allocated in the wrapper */
int priv_data_size; 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 *); int (*read_probe)(AVProbeData *);
/** read the format header and initialize the AVFormatContext /** read the format header and initialize the AVFormatContext
structure. Return 0 if OK. 'ap' if non NULL contains structure. Return 0 if OK. 'ap' if non NULL contains
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment