patch-xbmc_cores_dvdplayer_DVDCodecs_Audio_DVDAudioCodecPassthroughFFmpeg_h 781 B

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