1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Originally committed as revision 11736 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-01 14:00:31 +00:00
parent 3c71bc55dc
commit 1dc5527934

View File

@ -31,9 +31,9 @@
//#define DEBUG //#define DEBUG
typedef struct PNGDecContext { typedef struct PNGDecContext {
uint8_t *bytestream; const uint8_t *bytestream;
uint8_t *bytestream_start; const uint8_t *bytestream_start;
uint8_t *bytestream_end; const uint8_t *bytestream_end;
AVFrame picture; AVFrame picture;
int state; int state;
@ -312,7 +312,7 @@ static int png_decode_idat(PNGDecContext *s, int length)
static int decode_frame(AVCodecContext *avctx, static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
PNGDecContext * const s = avctx->priv_data; PNGDecContext * const s = avctx->priv_data;
AVFrame *picture = data; AVFrame *picture = data;