blob: 1399c9b6f3d994eb6a2c3adf56b08aa785cc24bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- 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);
|