--- xbmc-12.2.orig/xbmc/cdrip/EncoderFFmpeg.h	2013-05-03 07:57:41.000000000 +0200
+++ xbmc-12.2/xbmc/cdrip/EncoderFFmpeg.h	2013-07-31 12:34:15.000000000 +0200
@@ -26,6 +26,8 @@
 #include "DllAvCodec.h"
 #include "DllAvUtil.h"
 
+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
+
 class CEncoderFFmpeg : public CEncoder
 {
 public:
