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/utils.c | |
parent | b2016189db99eb1c37314cedf5c676491548bf3a (diff) | |
download | ffmpeg-ffd71c9c5c64c82923c38406411a3da9a16aa150.tar.gz |
lavf: mark stream as const pointer in av_stream_get_side_data() for next bump
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 8156a80c97..c84d69c011 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -5007,8 +5007,13 @@ int ff_generate_avci_extradata(AVStream *st) return 0; } -uint8_t *av_stream_get_side_data(AVStream *st, enum AVPacketSideDataType type, - int *size) +#if FF_API_NOCONST_GET_SIDE_DATA +uint8_t *av_stream_get_side_data(AVStream *st, + enum AVPacketSideDataType type, int *size) +#else +uint8_t *av_stream_get_side_data(const AVStream *st, + enum AVPacketSideDataType type, int *size) +#endif { int i; |