aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-03 18:21:39 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 11:19:15 +0200
commit9645eeb48554f4a1c1488bb00525b886354c2fac (patch)
tree6e9bef0fe8b56d720803f1ca679e710cd42f9369
parent101ed72c2f330163a2e25377b1725cc34852315d (diff)
downloadffmpeg-9645eeb48554f4a1c1488bb00525b886354c2fac.tar.gz
avcodec/mpegvideo: Reindent after the previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/mpegvideo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 5c6ec7db55..d82a89566c 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -617,12 +617,12 @@ int ff_mpv_init_context_frame(MpegEncContext *s)
if (s->codec_id == AV_CODEC_ID_MPEG4) {
ALLOC_POOL(mbskip_table, mb_array_size + 2,
FF_REFSTRUCT_POOL_FLAG_ZERO_EVERY_TIME);
- if (!s->encoding) {
- /* cbp, pred_dir */
- if (!(s->cbp_table = av_mallocz(mb_array_size)) ||
- !(s->pred_dir_table = av_mallocz(mb_array_size)))
- return AVERROR(ENOMEM);
- }
+ if (!s->encoding) {
+ /* cbp, pred_dir */
+ if (!(s->cbp_table = av_mallocz(mb_array_size)) ||
+ !(s->pred_dir_table = av_mallocz(mb_array_size)))
+ return AVERROR(ENOMEM);
+ }
}
}