Message ID | 20200304222120.12699-1-michael@niedermayer.cc |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] avformat/avformat: Make AVProbeData extendible with the next major bump | expand |
Context | Check | Description |
---|---|---|
andriy/ffmpeg-patchwork | success | Make fate finished |
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 9b9b634ec3..bd99d4e4f2 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -448,6 +448,9 @@ typedef struct AVProbeData { 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 */ const char *mime_type; /**< mime_type, when known. */ +#if LIBAVFORMAT_VERSION_MAJOR > 58 + AVDictionary *dict; /**< Dictionary to allow the user to provide additional extendible fields */ +#endif } AVProbeData; #define AVPROBE_SCORE_RETRY (AVPROBE_SCORE_MAX/4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavformat/avformat.h | 3 +++ 1 file changed, 3 insertions(+)