Skip to content

Commit

Permalink
Avoid crash in mxf assets on unsupported audio
Browse files Browse the repository at this point in the history
  • Loading branch information
aipsvrr authored Jul 18, 2024
1 parent 88f3ea4 commit f6b65b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/MediaInfo/Audio/File_ChannelSplitting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ void File_ChannelSplitting::Read_Buffer_Continue()
return;
}

if (!Common)
return;

//Size of buffer
for (int c=0; c<2; c++)
for (size_t i=0; i<Common->SplittedChannels[c].size(); i++)
Expand Down

0 comments on commit f6b65b4

Please sign in to comment.