Skip to content
Snippets Groups Projects
Commit e5f58f81 authored by shinya.tesutosan@hotmail.com's avatar shinya.tesutosan@hotmail.com Committed by Carl Eugen Hoyos
Browse files

Document padding for AVProbeData.

Patch by roundup user shinya, tesutosan hotmail

Originally committed as revision 19802 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e43198af
No related branches found
No related tags found
No related merge requests found
...@@ -145,8 +145,8 @@ struct AVCodecTag; ...@@ -145,8 +145,8 @@ struct AVCodecTag;
/** This structure contains the data a format has to probe a file. */ /** This structure contains the data a format has to probe a file. */
typedef struct AVProbeData { typedef struct AVProbeData {
const char *filename; const char *filename;
unsigned char *buf; unsigned char *buf; /**< Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero. */
int buf_size; int buf_size; /**< Size of buf except extra allocated bytes */
} AVProbeData; } AVProbeData;
#define AVPROBE_SCORE_MAX 100 ///< maximum score, half of that is used for file-extension-based detection #define AVPROBE_SCORE_MAX 100 ///< maximum score, half of that is used for file-extension-based detection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment