[FFmpeg-cvslog] avformat/hevc: Reindent after the previous commit

Andreas Rheinhardt git at videolan.org
Fri Sep 2 12:48:16 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Aug 27 01:32:53 2022 +0200| [c421000434b01a9c5cebe44e483d9e206d3ab3df] | committer: Andreas Rheinhardt

avformat/hevc: Reindent after the previous commit

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c421000434b01a9c5cebe44e483d9e206d3ab3df
---

 libavformat/hevc.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/libavformat/hevc.c b/libavformat/hevc.c
index 13951bd9f2..1841dd5785 100644
--- a/libavformat/hevc.c
+++ b/libavformat/hevc.c
@@ -728,18 +728,18 @@ static int hvcc_add_nal_unit(uint8_t *nal_buf, uint32_t nal_size,
     ret = hvcc_array_add_nal_unit(nal_buf, nal_size, nal_type,
                                   ps_array_completeness,
                                   &hvcc->arrays[array_idx]);
-        if (ret < 0)
-            goto end;
+    if (ret < 0)
+        goto end;
     if (hvcc->arrays[array_idx].numNalus == 1)
         hvcc->numOfArrays++;
     if (nal_type == HEVC_NAL_VPS)
-            ret = hvcc_parse_vps(&gbc, hvcc);
-        else if (nal_type == HEVC_NAL_SPS)
-            ret = hvcc_parse_sps(&gbc, hvcc);
-        else if (nal_type == HEVC_NAL_PPS)
-            ret = hvcc_parse_pps(&gbc, hvcc);
-        if (ret < 0)
-            goto end;
+        ret = hvcc_parse_vps(&gbc, hvcc);
+    else if (nal_type == HEVC_NAL_SPS)
+        ret = hvcc_parse_sps(&gbc, hvcc);
+    else if (nal_type == HEVC_NAL_PPS)
+        ret = hvcc_parse_pps(&gbc, hvcc);
+    if (ret < 0)
+        goto end;
 
 end:
     av_free(rbsp_buf);



More information about the ffmpeg-cvslog mailing list