aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ac3dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:42:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:42:23 +0100
commit658bd6db7bd197a4f2b0fada671319ab87e926b3 (patch)
tree44a9890b372982b7cf653c62c284d2b9396e23fb /libavformat/ac3dec.c
parentd7e050b11d90a50833ce1d666e1fb58687c55633 (diff)
downloadffmpeg-658bd6db7bd197a4f2b0fada671319ab87e926b3.tar.gz
ac3_eac3_probe: mark buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/ac3dec.c')
-rw-r--r--libavformat/ac3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ac3dec.c b/libavformat/ac3dec.c
index 7a34ea8b4b..c531f8a179 100644
--- a/libavformat/ac3dec.c
+++ b/libavformat/ac3dec.c
@@ -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;