diff mbox series

[FFmpeg-devel,09/14] avformat/utils: Reindentation

Message ID PR3PR03MB66651AB8C37B06FC9BBB6F358FD59@PR3PR03MB6665.eurprd03.prod.outlook.com
State Accepted
Headers show
Series [FFmpeg-devel,01/14] Revert "avfilter/af_silenceremove: fix processing of periods > 1"
Related show

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/configureppc warning Failed to apply patch

Commit Message

Andreas Rheinhardt Sept. 9, 2021, 3:57 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavformat/utils.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9c174425d3..25285f62ab 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4289,19 +4289,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);