mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-10 17:41:09 +02:00
Remove 2 unneeded variables from common_init() found by CSA.
Originally committed as revision 18560 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d0d62cc955
commit
6081c30b81
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user