From ffd71c9c5c64c82923c38406411a3da9a16aa150 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 27 Jun 2016 11:28:12 +0200 Subject: lavf: mark stream as const pointer in av_stream_get_side_data() for next bump --- libavformat/avformat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/avformat.h') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d8a6cf3392..3ee705198c 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2053,8 +2053,13 @@ uint8_t *av_stream_new_side_data(AVStream *stream, * @param size pointer for side information size to store (optional) * @return pointer to data if present or NULL otherwise */ +#if FF_API_NOCONST_GET_SIDE_DATA uint8_t *av_stream_get_side_data(AVStream *stream, enum AVPacketSideDataType type, int *size); +#else +uint8_t *av_stream_get_side_data(const AVStream *stream, + enum AVPacketSideDataType type, int *size); +#endif AVProgram *av_new_program(AVFormatContext *s, int id); -- cgit v1.2.3