comparison ffv1.c @ 6234:5d82b4e8a7f3 libavcodec

const
author michael
date Fri, 01 Feb 2008 04:14:04 +0000
parents f4b99cc863e5
children 48759bfbd073
comparison
equal deleted inserted replaced
6233:bfb9d5c104a1 6234:5d82b4e8a7f3
934 common_init(avctx); 934 common_init(avctx);
935 935
936 return 0; 936 return 0;
937 } 937 }
938 938
939 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size){ 939 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size){
940 FFV1Context *f = avctx->priv_data; 940 FFV1Context *f = avctx->priv_data;
941 RangeCoder * const c= &f->c; 941 RangeCoder * const c= &f->c;
942 const int width= f->width; 942 const int width= f->width;
943 const int height= f->height; 943 const int height= f->height;
944 AVFrame * const p= &f->picture; 944 AVFrame * const p= &f->picture;