# HG changeset patch # User michael # Date 1239980344 0 # Node ID 71608a4f9eb7423ce3ffe6242685466805077b25 # Parent 0d6c8c99382e62a5d3e7a2281ddb97fef5e791eb Remove 2 unneeded variables from common_init() found by CSA. diff -r 0d6c8c99382e -r 71608a4f9eb7 ffv1.c --- a/ffv1.c Fri Apr 17 14:51:00 2009 +0000 +++ b/ffv1.c Fri Apr 17 14:59:04 2009 +0000 @@ -530,17 +530,16 @@ static av_cold int common_init(AVCodecContext *avctx){ FFV1Context *s = avctx->priv_data; - int width, height; s->avctx= avctx; s->flags= avctx->flags; dsputil_init(&s->dsp, avctx); - width= s->width= avctx->width; - height= s->height= avctx->height; + s->width = avctx->width; + s->height= avctx->height; - assert(width && height); + assert(s->width && s->height); return 0; }