diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-12 14:46:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-14 14:30:45 +0100 |
commit | ad2deb02e5d8bfd67c99c6409cd1d0992984fdc7 (patch) | |
tree | 688fa16930758dbcac30b75829a1d3a6450eb37c /libavcodec/vorbisdec.c | |
parent | 3b537eab27bb34f5f63b06097fbd52ff5941c3f6 (diff) | |
download | ffmpeg-ad2deb02e5d8bfd67c99c6409cd1d0992984fdc7.tar.gz |
avcodec/xiph: mark returned header pointers const from avpriv_split_xiph_headers()
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vorbisdec.c')
-rw-r--r-- | libavcodec/vorbisdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c index fb1609920d..09a863f277 100644 --- a/libavcodec/vorbisdec.c +++ b/libavcodec/vorbisdec.c @@ -1017,7 +1017,7 @@ static av_cold int vorbis_decode_init(AVCodecContext *avctx) vorbis_context *vc = avctx->priv_data; uint8_t *headers = avctx->extradata; int headers_len = avctx->extradata_size; - uint8_t *header_start[3]; + const uint8_t *header_start[3]; int header_len[3]; GetBitContext *gb = &vc->gb; int hdr_type, ret; |