changeset 2995:c222d17b55c7 libavformat

add const
author bcoudurier
date Fri, 01 Feb 2008 14:58:35 +0000
parents 35b3eaafd9fe
children 8575ec7c128a
files mxf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Thu Jan 31 22:30:55 2008 +0000
+++ b/mxf.c	Fri Feb 01 14:58:35 2008 +0000
@@ -244,7 +244,8 @@
 static int mxf_get_d10_aes3_packet(ByteIOContext *pb, AVStream *st, AVPacket *pkt, int64_t length)
 {
     uint8_t buffer[61444];
-    uint8_t *buf_ptr, *end_ptr, *data_ptr;
+    const uint8_t *buf_ptr, *end_ptr;
+    uint8_t *data_ptr;
     int i;
 
     if (length > 61444) /* worst case PAL 1920 samples 8 channels */