diff mbox series

[FFmpeg-devel,19/20] avcodec/snow: Reindent after previous commit

Message ID AS8P250MB0744C61B3E4C51FDB6FD85928F209@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State New
Headers show
Series [FFmpeg-devel,1/8] configure: Remove dependencies of inexistant rtjpeg decoder | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Oct. 10, 2022, 3:13 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/snow.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 52ab39bfd4..ca43550f20 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -539,12 +539,12 @@  int ff_snow_common_init_after_header(AVCodecContext *avctx) {
                 if (s->spatial_dwt_buffer) { /* Equivalently: if s is encoder */
                     b->buf = s->spatial_dwt_buffer + offset;
                 } else {
-                //FIXME avoid this realloc
-                av_freep(&b->x_coeff);
-                b->x_coeff = av_calloc((b->width + 1) * b->height + 1,
-                                       sizeof(*b->x_coeff));
-                if (!b->x_coeff)
-                    return AVERROR(ENOMEM);
+                    //FIXME avoid this realloc
+                    av_freep(&b->x_coeff);
+                    b->x_coeff = av_calloc((b->width + 1) * b->height + 1,
+                                            sizeof(*b->x_coeff));
+                    if (!b->x_coeff)
+                        return AVERROR(ENOMEM);
                 }
             }
             w= (w+1)>>1;