diff options
author | shinya.tesutosan@hotmail.com <shinya.tesutosan@hotmail.com> | 2009-09-09 22:55:10 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-09-09 22:55:10 +0000 |
commit | e5f58f81f7c757b383b8c352bc708f064c3ee6f3 (patch) | |
tree | 7c57cab1c5a088be362f813e58c13df9f9bd2f2f /libavformat/avformat.h | |
parent | e43198af4f1d42f847eea533f39717f8b9e5a93b (diff) | |
download | ffmpeg-e5f58f81f7c757b383b8c352bc708f064c3ee6f3.tar.gz |
Document padding for AVProbeData.
Patch by roundup user shinya, tesutosan hotmail
Originally committed as revision 19802 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 7254cb480f..e49cf6e8f1 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -145,8 +145,8 @@ struct AVCodecTag; /** 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 |