summaryrefslogtreecommitdiff
path: root/package/xbmc/patches/patch-xbmc_cores_dvdplayer_DVDAudio_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/xbmc/patches/patch-xbmc_cores_dvdplayer_DVDAudio_h')
-rw-r--r--package/xbmc/patches/patch-xbmc_cores_dvdplayer_DVDAudio_h20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/xbmc/patches/patch-xbmc_cores_dvdplayer_DVDAudio_h b/package/xbmc/patches/patch-xbmc_cores_dvdplayer_DVDAudio_h
new file mode 100644
index 000000000..6e1e9e018
--- /dev/null
+++ b/package/xbmc/patches/patch-xbmc_cores_dvdplayer_DVDAudio_h
@@ -0,0 +1,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);