diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:30:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:30:29 +0000 |
commit | 317b3092cf60edf8c1c8bf71a88980120baf8ea9 (patch) | |
tree | bcd7268b52841f17b439498e9ccfea5ea22674ad /libavcodec/mjpegbdec.c | |
parent | 1855abe556d5000079bbbac58d13f5b5c1b42d4d (diff) | |
download | ffmpeg-317b3092cf60edf8c1c8bf71a88980120baf8ea9.tar.gz |
const
Originally committed as revision 11765 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpegbdec.c')
-rw-r--r-- | libavcodec/mjpegbdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpegbdec.c b/libavcodec/mjpegbdec.c index 93f6923cd5..0f27379f30 100644 --- a/libavcodec/mjpegbdec.c +++ b/libavcodec/mjpegbdec.c @@ -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; |