Commit d902a3f4 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/adtsenc: buf isnt changed in adts_decode_extradata(), make it const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 544380aa
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment