summaryrefslogtreecommitdiff
path: root/libavformat/mxf.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-01 14:58:35 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-01 14:58:35 +0000
commit2b12d6fc79817d14b555b13847e6b328fbc3d2bd (patch)
tree916b95043d7ba4707bb20027ba46e00cab7d7630 /libavformat/mxf.c
parentec9f649371d9eecb87e688254d757e61f0521ead (diff)
add const
Originally committed as revision 11756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r--libavformat/mxf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index a1906b9b7c..0c69cd2e12 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -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 */