[FFmpeg-cvslog] avcodec/options: Reindent after previous commit
Andreas Rheinhardt
git at videolan.org
Sat Mar 20 04:49:51 EET 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Tue Mar 16 20:48:20 2021 +0100| [f21b47f38c2fe67fe218a5621aec24be45ca12a2] | committer: Andreas Rheinhardt
avcodec/options: Reindent after previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f21b47f38c2fe67fe218a5621aec24be45ca12a2
---
libavcodec/options.c | 7 +++----
1 file 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);
More information about the ffmpeg-cvslog
mailing list