From 0bff98d1d03af990f048bc278e8e433fe432e658 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 10 Mar 2025 16:10:08 +0100 Subject: Fix assertion failure on seeing a SMPTE DCP with a PKL type other than application/mxf I'm not sure how this can happen, but it's been reported. --- src/dcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dcp.cc b/src/dcp.cc index 0d67cd0c..795dfca7 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -248,7 +248,7 @@ DCP::read (vector* notes, bool ignore_incorrect_picture_m } } else if ( *pkl_type == remove_parameters(J2KPictureAsset::static_pkl_type(standard)) || - *pkl_type == remove_parameters(MPEG2PictureAsset::static_pkl_type(standard)) || + (standard == Standard::INTEROP && *pkl_type == remove_parameters(MPEG2PictureAsset::static_pkl_type(standard))) || *pkl_type == remove_parameters(SoundAsset::static_pkl_type(standard)) || *pkl_type == remove_parameters(AtmosAsset::static_pkl_type(standard)) || *pkl_type == remove_parameters(SMPTETextAsset::static_pkl_type(standard)) -- cgit v1.2.3