mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-26 20:50:34 +00:00
avformat/flacenc: Add const to ff_flac_write_header() parameter
The extradata is not changed at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ed5cdf3d5a
commit
df912bbc5f
@ -26,7 +26,7 @@
|
||||
#include "libavcodec/bytestream.h"
|
||||
#include "avformat.h"
|
||||
|
||||
int ff_flac_write_header(AVIOContext *pb, uint8_t *extradata,
|
||||
int ff_flac_write_header(AVIOContext *pb, const uint8_t *extradata,
|
||||
int extradata_size, int last_block);
|
||||
|
||||
int ff_flac_is_native_layout(uint64_t channel_layout);
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "avformat.h"
|
||||
#include "flacenc.h"
|
||||
|
||||
int ff_flac_write_header(AVIOContext *pb, uint8_t *extradata,
|
||||
int ff_flac_write_header(AVIOContext *pb, const uint8_t *extradata,
|
||||
int extradata_size, int last_block)
|
||||
{
|
||||
uint8_t header[8] = {
|
||||
|
Loading…
Reference in New Issue
Block a user