[FFmpeg-cvslog] r11765 - trunk/libavcodec/mjpegbdec.c
michael
subversion
Fri Feb 1 16:30:29 CET 2008
Author: michael
Date: Fri Feb 1 16:30:29 2008
New Revision: 11765
Log:
const
Modified:
trunk/libavcodec/mjpegbdec.c
Modified: trunk/libavcodec/mjpegbdec.c
==============================================================================
--- trunk/libavcodec/mjpegbdec.c (original)
+++ trunk/libavcodec/mjpegbdec.c Fri Feb 1 16:30:29 2008
@@ -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;
More information about the ffmpeg-cvslog
mailing list