OSDN Git Service

add const
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 1 Feb 2008 14:58:35 +0000 (14:58 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 1 Feb 2008 14:58:35 +0000 (14:58 +0000)
Originally committed as revision 11756 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mxf.c

index a1906b9..0c69cd2 100644 (file)
@@ -244,7 +244,8 @@ static int mxf_get_stream_index(AVFormatContext *s, KLVPacket *klv)
 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 */