Browse code

ac3_eac3_probe: mark buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2012/12/25 09:42:23
Showing 1 changed files
... ...
@@ -27,7 +27,7 @@
27 27
 static int ac3_eac3_probe(AVProbeData *p, enum AVCodecID expected_codec_id)
28 28
 {
29 29
     int max_frames, first_frames = 0, frames;
30
-    uint8_t *buf, *buf2, *end;
30
+    const uint8_t *buf, *buf2, *end;
31 31
     AC3HeaderInfo hdr;
32 32
     GetBitContext gbc;
33 33
     enum AVCodecID codec_id = AV_CODEC_ID_AC3;