Browse Source

mp3_read_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
7a84664ffe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mp3dec.c

+ 1
- 1
libavformat/mp3dec.c View File

@@ -49,7 +49,7 @@ static int mp3_read_probe(AVProbeData *p)
int max_frames, first_frames = 0;
int fsize, frames, sample_rate;
uint32_t header;
uint8_t *buf, *buf0, *buf2, *end;
const uint8_t *buf, *buf0, *buf2, *end;
AVCodecContext avctx;

buf0 = p->buf;


Loading…
Cancel
Save