Skip to content

Commit abdbb21

Browse files
Merge pull request #2096 from aipsvrr/master
Avoid crash in mxf assets on unsupported audio
2 parents 7833ed3 + f6b65b4 commit abdbb21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/MediaInfo/Audio/File_ChannelSplitting.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ void File_ChannelSplitting::Read_Buffer_Continue()
262262
return;
263263
}
264264

265+
if (!Common)
266+
return;
267+
265268
//Size of buffer
266269
for (int c=0; c<2; c++)
267270
for (size_t i=0; i<Common->SplittedChannels[c].size(); i++)

0 commit comments

Comments
 (0)