diff options
author | Clément Bœsch <clement@stupeflix.com> | 2016-06-27 11:28:12 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2016-08-17 16:32:09 +0200 |
commit | ffd71c9c5c64c82923c38406411a3da9a16aa150 (patch) | |
tree | a787d7d1d99097e226f0669f78dd1244dcde64d1 /libavformat/avformat.h | |
parent | b2016189db99eb1c37314cedf5c676491548bf3a (diff) |
lavf: mark stream as const pointer in av_stream_get_side_data() for next bump
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |