[FFmpeg-devel] [PATCH 06/13] fftools/ffprobe: stop using AVStream.side_data
James Almer
jamrial at gmail.com
Thu Jul 20 23:34:08 EEST 2023
Signed-off-by: James Almer <jamrial at gmail.com>
---
fftools/ffprobe.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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);
}
--
2.41.0
More information about the ffmpeg-devel
mailing list