[FFmpeg-cvslog] r19802 - trunk/libavformat/avformat.h
cehoyos
subversion
Thu Sep 10 00:55:10 CEST 2009
Author: cehoyos
Date: Thu Sep 10 00:55:10 2009
New Revision: 19802
Log:
Document padding for AVProbeData.
Patch by roundup user shinya, tesutosan hotmail
Modified:
trunk/libavformat/avformat.h
Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h Wed Sep 9 23:44:48 2009 (r19801)
+++ trunk/libavformat/avformat.h Thu Sep 10 00:55:10 2009 (r19802)
@@ -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
More information about the ffmpeg-cvslog
mailing list