1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-19 02:41:38 +02:00

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>
This commit is contained in:
Michael Niedermayer 2014-11-06 14:41:38 +01:00
parent 0de64082a9
commit e591608753
2 changed files with 2 additions and 2 deletions

View File

@ -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])
{

View File

@ -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]);