summaryrefslogtreecommitdiff
path: root/libavcodec/xiph.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-06 14:41:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-06 14:41:38 +0100
commite591608753ed0b1eee4584362da0340e9351d0cb (patch)
tree39bafc8563b3087111ebfce4b5a03ebdf75908d2 /libavcodec/xiph.h
parent0de64082a967c88959e5f3962d34eeab0dc4e7a6 (diff)
avcodec/xiph: make extradata argument const
Fixes "warning: passing argument 1 of avpriv_split_xiph_headers discards const qualifier from pointer target type" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/xiph.h')
-rw-r--r--libavcodec/xiph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xiph.h b/libavcodec/xiph.h
index 5c4dcc4565..b8ddbbe994 100644
--- a/libavcodec/xiph.h
+++ b/libavcodec/xiph.h
@@ -36,7 +36,7 @@
* @param[out] header_len The sizes of each of the three headers.
* @return On error a negative value is returned, on success zero.
*/
-int avpriv_split_xiph_headers(uint8_t *extradata, int extradata_size,
+int avpriv_split_xiph_headers(const uint8_t *extradata, int extradata_size,
int first_header_size, uint8_t *header_start[3],
int header_len[3]);