diff mbox series

[FFmpeg-devel,06/13] fftools/ffprobe: stop using AVStream.side_data

Message ID 20230720203415.41757-6-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,01/13] avcodec/avcodec: add side data to AVCodecContext | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 fail Make failed
andriy/make_x86 fail Make failed

Commit Message

James Almer July 20, 2023, 8:34 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 fftools/ffprobe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index a39185f6fe..b60fd8eb1f 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3186,8 +3186,9 @@  static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
     if (do_show_stream_tags)
         ret = show_tags(w, stream->metadata, in_program ? SECTION_ID_PROGRAM_STREAM_TAGS : SECTION_ID_STREAM_TAGS);
 
-    if (stream->nb_side_data) {
-        print_pkt_side_data(w, stream->codecpar, stream->side_data, stream->nb_side_data,
+    if (stream->codecpar->side_data_set.nb_side_data) {
+        print_pkt_side_data(w, stream->codecpar, stream->codecpar->side_data_set.side_data,
+                            stream->codecpar->side_data_set.nb_side_data,
                             SECTION_ID_STREAM_SIDE_DATA_LIST,
                             SECTION_ID_STREAM_SIDE_DATA);
     }