diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-16 20:48:20 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-20 02:56:31 +0100 |
commit | f21b47f38c2fe67fe218a5621aec24be45ca12a2 (patch) | |
tree | 4829f3e6f34532de88085682a49aae140fe59517 | |
parent | 784c3c0d8552365431e19748aa32bf7bcacd1464 (diff) | |
download | ffmpeg-f21b47f38c2fe67fe218a5621aec24be45ca12a2.tar.gz |
avcodec/options: Reindent after previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/options.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index 53f13dab37..58c7ce8d62 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -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); |