comparison cljr.c @ 6229:042a48b6de72 libavcodec

const
author michael
date Fri, 01 Feb 2008 03:59:06 +0000
parents 2b72f9bc4f06
children c32be43b52b2
comparison
equal deleted inserted replaced
6228:d155d4915e1c 6229:042a48b6de72
35 GetBitContext gb; 35 GetBitContext gb;
36 } CLJRContext; 36 } CLJRContext;
37 37
38 static int decode_frame(AVCodecContext *avctx, 38 static int decode_frame(AVCodecContext *avctx,
39 void *data, int *data_size, 39 void *data, int *data_size,
40 uint8_t *buf, int buf_size) 40 const uint8_t *buf, int buf_size)
41 { 41 {
42 CLJRContext * const a = avctx->priv_data; 42 CLJRContext * const a = avctx->priv_data;
43 AVFrame *picture = data; 43 AVFrame *picture = data;
44 AVFrame * const p= (AVFrame*)&a->picture; 44 AVFrame * const p= (AVFrame*)&a->picture;
45 int x, y; 45 int x, y;