diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-08-02 09:41:28 -0400 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-08-06 10:18:36 -0400 |
commit | cb827df865393d40b606ca832d07bffbdeb6f83d (patch) | |
tree | 7de73ce9996a2c8bd47a0c427f06a2151cbb7139 | |
parent | 491745da95d93cd95a1d85b5db4d9995e749e822 (diff) |
ActiveAE: Replace deprecated CODEC_ID by AV_CODEC_ID.
The former does not build with FFmpeg 2.0 and I somehow missed this reading the code.
Maybe I should remove the compatibility layer with the old names in the internal FFmpeg to prevent this to happen again.
-rw-r--r-- | xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp index 31aa3c0a53..e0fd059691 100644 --- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp +++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp @@ -896,7 +896,7 @@ void CActiveAE::Configure(AEAudioFormat *desiredFmt) outputFormat.m_frames = m_encoderFormat.m_frames; // encoder buffer - if (m_encoder->GetCodecID() == CODEC_ID_AC3) + if (m_encoder->GetCodecID() == AV_CODEC_ID_AC3) { AEAudioFormat format; format.m_channelLayout = AE_CH_LAYOUT_2_0; |