From 0a75822dcb4cff30fb2b09f4448e03defb030644 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 17 Apr 2009 14:59:04 +0000 Subject: [PATCH] Remove 2 unneeded variables from common_init() found by CSA. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18560 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/ffv1.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index c6767493a..86f289743 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -530,17 +530,16 @@ static void write_header(FFV1Context *f){ 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; } -- 2.39.2