[FFmpeg-devel] [PATCH 23/25] avformat/utils: Reindentation

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Aug 27 17:27:23 EEST 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavformat/utils.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index cedea97593..e86cdaa96f 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4274,19 +4274,19 @@ static void free_stream(AVStream **pst)
     if (st->attached_pic.data)
         av_packet_unref(&st->attached_pic);
 
-        av_parser_close(sti->parser);
-        avcodec_free_context(&sti->avctx);
-        av_bsf_free(&sti->bsfc);
-        av_freep(&sti->priv_pts);
-        av_freep(&sti->index_entries);
-        av_freep(&sti->probe_data.buf);
+    av_parser_close(sti->parser);
+    avcodec_free_context(&sti->avctx);
+    av_bsf_free(&sti->bsfc);
+    av_freep(&sti->priv_pts);
+    av_freep(&sti->index_entries);
+    av_freep(&sti->probe_data.buf);
 
-        av_bsf_free(&sti->extract_extradata.bsf);
+    av_bsf_free(&sti->extract_extradata.bsf);
 
-        if (sti->info) {
-            av_freep(&sti->info->duration_error);
+    if (sti->info) {
+        av_freep(&sti->info->duration_error);
         av_freep(&sti->info);
-        }
+    }
 
     av_dict_free(&st->metadata);
     avcodec_parameters_free(&st->codecpar);
-- 
2.30.2



More information about the ffmpeg-devel mailing list