Mercurial > libavcodec.hg
changeset 5807:34fac02fbc4b libavcodec
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?
| author | diego |
|---|---|
| date | Thu, 11 Oct 2007 09:35:06 +0000 |
| parents | 62fc35411cb1 |
| children | b809aff51f19 |
| files | snow.c |
| diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);
