--- xbmc-12.2.orig/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthroughFFmpeg.h	2013-05-03 07:57:41.000000000 +0200
+++ xbmc-12.2/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthroughFFmpeg.h	2013-08-01 16:41:17.000000000 +0200
@@ -28,6 +28,8 @@
 
 #include "DVDAudioCodec.h"
 
+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
+
 class CDVDAudioCodecPassthroughFFmpeg : public CDVDAudioCodec
 {
 public:
@@ -94,7 +96,7 @@ private:
   unsigned int m_Needed;
   bool         m_LostSync;
   int          m_SampleRate;
-  CodecID      m_codec;
+  AVCodecID      m_codec;
 
   unsigned int (CDVDAudioCodecPassthroughFFmpeg::*m_pSyncFrame)(BYTE* pData, unsigned int iSize, unsigned int *fSize);
   unsigned int SyncAC3(BYTE* pData, unsigned int iSize, unsigned int *fSize);
