# HG changeset patch # User diego # Date 1192095306 0 # Node ID 34fac02fbc4b937d5408e96a47e3305f52985389 # Parent 62fc35411cb1c55fbe9b9429c6f35b6a5ea1c393 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¡Ç diff -r 62fc35411cb1 -r 34fac02fbc4b snow.c --- a/snow.c Wed Oct 10 20:31:42 2007 +0000 +++ b/snow.c Thu Oct 11 09:35:06 2007 +0000 @@ -3665,7 +3665,7 @@ if(!s->keyframe){ if(get_rac(&s->c, s->header_state)){ 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]; p->diag_mc= get_rac(&s->c, s->header_state); htaps= get_symbol(&s->c, s->header_state, 0)*2 + 2; @@ -4548,8 +4548,6 @@ static int decode_init(AVCodecContext *avctx) { - SnowContext *s = avctx->priv_data; - avctx->pix_fmt= PIX_FMT_YUV420P; common_init(avctx);