mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
0de64082a9
commit
e591608753
@ -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])
|
||||
{
|
||||
|
@ -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]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user