diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-10-11 09:35:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-10-11 09:35:06 +0000 |
commit | 3ea7841120c5b4871a0d571bbab04818d72dd274 (patch) | |
tree | 89905db97ed6eafca121ca78349ed0da559b342a /libavcodec/snow.c | |
parent | 736e63edc88e7c5bd7db2ec00fc21b5c0d71d466 (diff) | |
download | ffmpeg-3ea7841120c5b4871a0d571bbab04818d72dd274.tar.gz |
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’
Originally committed as revision 10708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 777ac6f14b..2ff0d43462 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -3665,7 +3665,7 @@ static int decode_header(SnowContext *s){ 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 encode_end(AVCodecContext *avctx) static int decode_init(AVCodecContext *avctx) { - SnowContext *s = avctx->priv_data; - avctx->pix_fmt= PIX_FMT_YUV420P; common_init(avctx); |