[FFmpeg-devel] [PATCH 19/20] avcodec/snow: Reindent after previous commit
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon Oct 10 06:13:09 EEST 2022
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/snow.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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;
--
2.34.1
More information about the ffmpeg-devel
mailing list