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

James Almer jamrial at gmail.com
Mon Aug 28 15:35:02 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 299d7b16d9..2aebab6f92 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -2781,8 +2781,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.41.0



More information about the ffmpeg-devel mailing list