summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2016-06-27 11:28:12 +0200
committerClément Bœsch <clement@stupeflix.com>2016-08-17 16:32:09 +0200
commitffd71c9c5c64c82923c38406411a3da9a16aa150 (patch)
treea787d7d1d99097e226f0669f78dd1244dcde64d1 /libavformat/utils.c
parentb2016189db99eb1c37314cedf5c676491548bf3a (diff)
downloadffmpeg-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.c9
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;