forked from FFmpeg/FFmpeg
avcodec/ffv1enc: dont reset version
resetting the version causes any previously set values to be disregarded Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
0c237d6e8a
commit
497b205ad5
1 changed files with 0 additions and 1 deletions
|
@ -914,7 +914,6 @@ static int encode_init_internal(AVCodecContext *avctx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
s->version = 0;
|
|
||||||
|
|
||||||
ret = ff_ffv1_encode_init(avctx);
|
ret = ff_ffv1_encode_init(avctx);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue