Commit 6e317cc1 authored by michael's avatar michael

const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11736 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent db720e3f
......@@ -31,9 +31,9 @@
//#define DEBUG
typedef struct PNGDecContext {
uint8_t *bytestream;
uint8_t *bytestream_start;
uint8_t *bytestream_end;
const uint8_t *bytestream;
const uint8_t *bytestream_start;
const uint8_t *bytestream_end;
AVFrame picture;
int state;
......@@ -312,7 +312,7 @@ static int png_decode_idat(PNGDecContext *s, int length)
static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
uint8_t *buf, int buf_size)
const uint8_t *buf, int buf_size)
{
PNGDecContext * const s = avctx->priv_data;
AVFrame *picture = data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment