Skip to content

Commit

Permalink
fixed - set m_pFrame1 to NULL in CDVDAudioCodecFFmpeg ctor. fixes pos…
Browse files Browse the repository at this point in the history
…sible crash in CDVDAudioCodecFFmpeg::Dispose()
  • Loading branch information
opdenkamp committed Aug 25, 2012
1 parent 7a59fd7 commit ccba420
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.cpp
Expand Up @@ -43,6 +43,8 @@ CDVDAudioCodecFFmpeg::CDVDAudioCodecFFmpeg() : CDVDAudioCodec()
m_layout = 0; m_layout = 0;


m_bLpcmMode = false; m_bLpcmMode = false;

m_pFrame1 = NULL;
} }


CDVDAudioCodecFFmpeg::~CDVDAudioCodecFFmpeg() CDVDAudioCodecFFmpeg::~CDVDAudioCodecFFmpeg()
Expand Down

0 comments on commit ccba420

Please sign in to comment.