diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-09 09:22:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-28 14:53:45 +0100 |
commit | c1b916580ae92abca583d9afa2f9f64165292dd8 (patch) | |
tree | 4d9d2b9a3b671f444545bc48a96994088f74602e /libavformat/mxfdec.c | |
parent | 8741f1fe2663f0d5adeaa21c98d6b03cac9dbaa9 (diff) | |
download | ffmpeg-c1b916580ae92abca583d9afa2f9f64165292dd8.tar.gz |
lavf: move AVStream.{inject_global_side_data,display_aspect_ratio} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public
header.
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index d16a7af0df..1f79f3d3cd 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -2586,7 +2586,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) av_dict_set_int(&st->metadata, "source_track_origin", source_track->sequence->origin, 0); } if (descriptor->aspect_ratio.num && descriptor->aspect_ratio.den) - st->display_aspect_ratio = descriptor->aspect_ratio; + st->internal->display_aspect_ratio = descriptor->aspect_ratio; st->codecpar->color_range = mxf_get_color_range(mxf, descriptor); st->codecpar->color_primaries = mxf_get_codec_ul(ff_mxf_color_primaries_uls, &descriptor->color_primaries_ul)->id; st->codecpar->color_trc = mxf_get_codec_ul(ff_mxf_color_trc_uls, &descriptor->color_trc_ul)->id; |