Mercurial > libavcodec.hg
changeset 9468:71608a4f9eb7 libavcodec
Remove 2 unneeded variables from common_init() found by CSA.
author | michael |
---|---|
date | Fri, 17 Apr 2009 14:59:04 +0000 |
parents | 0d6c8c99382e |
children | 5c58923d47d2 |
files | ffv1.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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; }