ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Thu Nov 6 14:41:38 2014 +0100| [e591608753ed0b1eee4584362da0340e9351d0cb] | committer: Michael Niedermayer
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 <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e591608753ed0b1eee4584362da0340e9351d0cb --- libavcodec/xiph.c | 2 +- libavcodec/xiph.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/xiph.c b/libavcodec/xiph.c index e63cec8..49b978d 100644 --- a/libavcodec/xiph.c +++ b/libavcodec/xiph.c @@ -21,7 +21,7 @@ #include "libavutil/intreadwrite.h" #include "xiph.h" -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]) { diff --git a/libavcodec/xiph.h b/libavcodec/xiph.h index 5c4dcc4..b8ddbbe 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]); _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
