Commit a9aaeb27 authored by diego's avatar diego

warning fixes:

snow.c: In function ‘decode_header’:
snow.c:3668: warning: unused variable ‘absum’
snow.c: In function ‘decode_init’:
snow.c:4551: warning: unused variable ‘s’


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10708 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 454305a5
...@@ -3665,7 +3665,7 @@ static int decode_header(SnowContext *s){ ...@@ -3665,7 +3665,7 @@ static int decode_header(SnowContext *s){
if(!s->keyframe){ if(!s->keyframe){
if(get_rac(&s->c, s->header_state)){ if(get_rac(&s->c, s->header_state)){
for(plane_index=0; plane_index<2; plane_index++){ for(plane_index=0; plane_index<2; plane_index++){
int htaps, i, sum=0, absum=0; int htaps, i, sum=0;
Plane *p= &s->plane[plane_index]; Plane *p= &s->plane[plane_index];
p->diag_mc= get_rac(&s->c, s->header_state); p->diag_mc= get_rac(&s->c, s->header_state);
htaps= get_symbol(&s->c, s->header_state, 0)*2 + 2; htaps= get_symbol(&s->c, s->header_state, 0)*2 + 2;
...@@ -4548,8 +4548,6 @@ static int encode_end(AVCodecContext *avctx) ...@@ -4548,8 +4548,6 @@ static int encode_end(AVCodecContext *avctx)
static int decode_init(AVCodecContext *avctx) static int decode_init(AVCodecContext *avctx)
{ {
SnowContext *s = avctx->priv_data;
avctx->pix_fmt= PIX_FMT_YUV420P; avctx->pix_fmt= PIX_FMT_YUV420P;
common_init(avctx); common_init(avctx);
......
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