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

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);
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to