changeset 6271:fd69759904c7 libavcodec

const
author michael
date Fri, 01 Feb 2008 15:30:29 +0000
parents d2af52426ef7
children ec8c482d17c1
files mjpegbdec.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mjpegbdec.c	Fri Feb 01 15:28:46 2008 +0000
+++ b/mjpegbdec.c	Fri Feb 01 15:30:29 2008 +0000
@@ -31,10 +31,10 @@
 
 static int mjpegb_decode_frame(AVCodecContext *avctx,
                               void *data, int *data_size,
-                              uint8_t *buf, int buf_size)
+                              const uint8_t *buf, int buf_size)
 {
     MJpegDecodeContext *s = avctx->priv_data;
-    uint8_t *buf_end, *buf_ptr;
+    const uint8_t *buf_end, *buf_ptr;
     AVFrame *picture = data;
     GetBitContext hgb; /* for the header */
     uint32_t dqt_offs, dht_offs, sof_offs, sos_offs, second_field_offs;