Permalink
Browse files

fixed - set m_pFrame1 to NULL in CDVDAudioCodecFFmpeg ctor. fixes pos…

…sible crash in CDVDAudioCodecFFmpeg::Dispose()
  • Loading branch information...
opdenkamp committed Aug 25, 2012
1 parent 7a59fd7 commit ccba42079027c3d484f0ba8d65fe1efb77a20785
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.cpp
@@ -43,6 +43,8 @@ CDVDAudioCodecFFmpeg::CDVDAudioCodecFFmpeg() : CDVDAudioCodec()
m_layout = 0;
m_bLpcmMode = false;
+
+ m_pFrame1 = NULL;
}
CDVDAudioCodecFFmpeg::~CDVDAudioCodecFFmpeg()

0 comments on commit ccba420

Please sign in to comment.