Internal change PiperOrigin-RevId: 139404155 Change-Id: I02d39a677e18c694aa49505d03e265883930c71b
diff --git a/CHANGES.md b/CHANGES.md index f4da4cf..220c1ef 100644 --- a/CHANGES.md +++ b/CHANGES.md
@@ -1,2 +1,3 @@ cl/139269315 : Several adoptions for std::string and compiler error fixes for Android & iOS. +cl/139403250 : Fix for reading local files.
diff --git a/src/mp4track.cpp b/src/mp4track.cpp index cfa1a1f..fb998eb 100644 --- a/src/mp4track.cpp +++ b/src/mp4track.cpp
@@ -901,6 +901,7 @@ if( !pStsdEntryAtom->FindProperty( "*.dataReferenceIndex", (MP4Property**)&pDrefIndexProperty ) || pDrefIndexProperty == NULL ) { + return nullptr; // Edit by grundman&suril. Fallback to filename. throw new Exception( "invalid stsd entry", __FILE__, __LINE__, __FUNCTION__ ); }