[FFmpeg-devel] [PATCH 10/17] fftools/ffplay: stop injecting stream side data in packets

James Almer jamrial at gmail.com
Mon Sep 4 18:04:03 EEST 2023


This is no longer needed as the side data is available for decoders in the
AVCodecContext.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 fftools/ffplay.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 751526a2a3..bedb33534d 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -2793,8 +2793,6 @@ static int read_thread(void *arg)
     if (genpts)
         ic->flags |= AVFMT_FLAG_GENPTS;
 
-    av_format_inject_global_side_data(ic);
-
     if (find_stream_info) {
         AVDictionary **opts;
         int orig_nb_streams = ic->nb_streams;
-- 
2.42.0



More information about the ffmpeg-devel mailing list