mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avformat/adtsenc: buf isnt changed in adts_decode_extradata(), make it const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
544380aaf0
commit
d902a3f4cb
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ typedef struct {
|
|||
|
||||
#define ADTS_MAX_FRAME_BYTES ((1 << 13) - 1)
|
||||
|
||||
static int adts_decode_extradata(AVFormatContext *s, ADTSContext *adts, uint8_t *buf, int size)
|
||||
static int adts_decode_extradata(AVFormatContext *s, ADTSContext *adts, const uint8_t *buf, int size)
|
||||
{
|
||||
GetBitContext gb;
|
||||
PutBitContext pb;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue