Skip to content
Browse files

changed, assert(0) is nasty, this could just be a bad audio packet

  • Loading branch information...
1 parent 9d5afbe commit 2c915ea56abd68cf2310eb9d01936d19a2f118ab @davilla davilla committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/dvdplayer/DVDPlayerAudio.cpp
View
2 xbmc/cores/dvdplayer/DVDPlayerAudio.cpp
@@ -284,7 +284,7 @@ int CDVDPlayerAudio::DecodeFrame(DVDAudioFrame &audioframe, bool bDropPacket)
CLog::Log(LOGERROR, "CDVDPlayerAudio:DecodeFrame - Codec tried to consume more data than available. Potential memory corruption");
m_decode.Release();
m_pAudioCodec->Reset();
- assert(0);
+ return DECODE_FLAG_ERROR;
}
m_decode.data += len;

0 comments on commit 2c915ea

Please sign in to comment.
Something went wrong with that request. Please try again.