diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2014-09-30 11:40:36 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-10-08 15:13:15 +0100 |
commit | b15b06ebf582ae81e47d236524c9ad6e10c8a0a7 (patch) | |
tree | 8d1bc6cdcc703ba29f4f4787a7c6945d0a5f3593 /libavformat/avformat.h | |
parent | 2d91abade29e43bb45c881d45909b8ee77e904e2 (diff) | |
download | ffmpeg-b15b06ebf582ae81e47d236524c9ad6e10c8a0a7.tar.gz |
avformat: use const char* instead of uint8_t* for AVProbeData.mime_type
This makes the field consistent with AVInputFormat.mime_type and the
argument type of av_match_name.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 923b282d41..f28186f7c7 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -396,7 +396,7 @@ typedef struct AVProbeData { const char *filename; 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 */ - uint8_t *mime_type; /**< mime_type, when known. */ + const char *mime_type; /**< mime_type, when known. */ } AVProbeData; #define AVPROBE_SCORE_EXTENSION 50 ///< score for file extension |