Mercurial > libavformat.hg
diff avformat.h @ 5168:b22d48626092 libavformat
Document padding for AVProbeData.
Patch by roundup user shinya, tesutosan hotmail
author | cehoyos |
---|---|
date | Wed, 09 Sep 2009 22:55:10 +0000 |
parents | ad4e3a0bd4bd |
children | cd884511ec8b |
line wrap: on
line diff
--- a/avformat.h Wed Sep 09 16:26:24 2009 +0000 +++ b/avformat.h Wed Sep 09 22:55:10 2009 +0000 @@ -145,8 +145,8 @@ /** This structure contains the data a format has to probe a file. */ typedef struct AVProbeData { const char *filename; - unsigned char *buf; - int buf_size; + unsigned char *buf; /**< Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero. */ + int buf_size; /**< Size of buf except extra allocated bytes */ } AVProbeData; #define AVPROBE_SCORE_MAX 100 ///< maximum score, half of that is used for file-extension-based detection