projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1855abe
)
const
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 15:30:29 +0000
(15:30 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 15:30:29 +0000
(15:30 +0000)
Originally committed as revision 11765 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpegbdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegbdec.c
b/libavcodec/mjpegbdec.c
index
93f6923
..
0f27379
100644
(file)
--- 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;