diff mbox series

[FFmpeg-devel,5/7] avformat/vvc: Reindent after the previous commit

Message ID GV1P250MB0737314D19CB6F7EFAB0D3018FF92@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State New
Headers show
Series [FFmpeg-devel,1/7] avcodec/hevc/Makefile: Move rules for lavc/* files to lavc/Makefile | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt June 5, 2024, 11:40 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavformat/vvc.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/vvc.c b/libavformat/vvc.c
index 819ee02e2c..3821de7812 100644
--- a/libavformat/vvc.c
+++ b/libavformat/vvc.c
@@ -527,17 +527,17 @@  static int vvcc_add_nal_unit(uint8_t *nal_buf, uint32_t nal_size,
     if (vvcc->arrays[array_idx].num_nalus == 1)
         vvcc->num_of_arrays++;
 
-        if (nal_type == VVC_VPS_NUT)
-            ret = vvcc_parse_vps(&gbc, vvcc);
-        else if (nal_type == VVC_SPS_NUT)
-            ret = vvcc_parse_sps(&gbc, vvcc);
-        else if (nal_type == VVC_PPS_NUT)
-            ret = vvcc_parse_pps(&gbc, vvcc);
-        else if (nal_type == VVC_OPI_NUT) {
-            // not yet supported
-        }
-        if (ret < 0)
-            goto end;
+    if (nal_type == VVC_VPS_NUT)
+        ret = vvcc_parse_vps(&gbc, vvcc);
+    else if (nal_type == VVC_SPS_NUT)
+        ret = vvcc_parse_sps(&gbc, vvcc);
+    else if (nal_type == VVC_PPS_NUT)
+        ret = vvcc_parse_pps(&gbc, vvcc);
+    else if (nal_type == VVC_OPI_NUT) {
+        // not yet supported
+    }
+    if (ret < 0)
+        goto end;
 
   end:
     av_free(rbsp_buf);