summaryrefslogtreecommitdiff
path: root/package/xbmc/patches/patch-xbmc_cores_dvdplayer_DVDAudio_h
blob: 6e1e9e0183842fc948fd61c975b38b70c39623f4 (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/DVDAudio.h	2013-05-03 07:57:41.000000000 +0200
+++ xbmc-12.2/xbmc/cores/dvdplayer/DVDAudio.h	2013-07-31 13:29:46.000000000 +0200
@@ -31,7 +31,7 @@
 class IAEStream;
 
 #ifndef _LINUX
-enum CodecID;
+enum AVCodecID;
 #else
 extern "C" {
 #if (defined USE_EXTERNAL_FFMPEG)
@@ -80,7 +80,7 @@ public:
   float GetCurrentAttenuation();
   void Pause();
   void Resume();
-  bool Create(const DVDAudioFrame &audioframe, CodecID codec, bool needresampler);
+  bool Create(const DVDAudioFrame &audioframe, AVCodecID codec, bool needresampler);
   bool IsValidFormat(const DVDAudioFrame &audioframe);
   void Destroy();
   DWORD AddPackets(const DVDAudioFrame &audioframe);