Browse Source

ac3_eac3_probe: mark buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
658bd6db7b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/ac3dec.c

+ 1
- 1
libavformat/ac3dec.c View File

@@ -27,7 +27,7 @@
static int ac3_eac3_probe(AVProbeData *p, enum AVCodecID expected_codec_id)
{
int max_frames, first_frames = 0, frames;
uint8_t *buf, *buf2, *end;
const uint8_t *buf, *buf2, *end;
AC3HeaderInfo hdr;
GetBitContext gbc;
enum AVCodecID codec_id = AV_CODEC_ID_AC3;


Loading…
Cancel
Save