diff mbox series

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

Message ID AM7PR03MB6660E7116628CB3F07B231EE8FC89@AM7PR03MB6660.eurprd03.prod.outlook.com
State Superseded
Headers show
Series [FFmpeg-devel,01/25] avformat/matroskadec: Fix heap-buffer overflow upon gigantic timestamps | expand

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 Aug. 27, 2021, 2:27 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 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);