1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/options: Reindent after previous commit

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2021-03-16 20:48:20 +01:00
parent 784c3c0d85
commit f21b47f38c

View File

@ -140,10 +140,9 @@ static int init_context_defaults(AVCodecContext *s, const AVCodec *codec)
s->reordered_opaque = AV_NOPTS_VALUE;
if(codec && codec->priv_data_size){
s->priv_data= av_mallocz(codec->priv_data_size);
if (!s->priv_data) {
return AVERROR(ENOMEM);
}
s->priv_data = av_mallocz(codec->priv_data_size);
if (!s->priv_data)
return AVERROR(ENOMEM);
if(codec->priv_class){
*(const AVClass**)s->priv_data = codec->priv_class;
av_opt_set_defaults(s->priv_data);