From b15b06ebf582ae81e47d236524c9ad6e10c8a0a7 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Tue, 30 Sep 2014 11:40:36 +0100 Subject: 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 --- libavformat/avformat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/avformat.h') 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 -- cgit v1.2.3