Commit 0a75822d authored by michael's avatar michael

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
parent 211374fb
...@@ -530,17 +530,16 @@ static void write_header(FFV1Context *f){ ...@@ -530,17 +530,16 @@ static void write_header(FFV1Context *f){
static av_cold int common_init(AVCodecContext *avctx){ static av_cold int common_init(AVCodecContext *avctx){
FFV1Context *s = avctx->priv_data; FFV1Context *s = avctx->priv_data;
int width, height;
s->avctx= avctx; s->avctx= avctx;
s->flags= avctx->flags; s->flags= avctx->flags;
dsputil_init(&s->dsp, avctx); dsputil_init(&s->dsp, avctx);
width= s->width= avctx->width; s->width = avctx->width;
height= s->height= avctx->height; s->height= avctx->height;
assert(width && height); assert(s->width && s->height);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment