blob: 658ff0ca675c81d8327b5d9b153b0af27b024f15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: gejengel-0.1.4/src/AudioDecoder/ffmpegdecoder.cpp
===================================================================
--- gejengel-0.1.4.orig/src/AudioDecoder/ffmpegdecoder.cpp
+++ gejengel-0.1.4/src/AudioDecoder/ffmpegdecoder.cpp
@@ -104,7 +104,7 @@ void FFmpegDecoder::initializeAudio()
{
for(uint32_t i = 0; i < m_pFormatContext->nb_streams; ++i)
{
- if (m_pFormatContext->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
+ if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
{
m_pAudioStream = m_pFormatContext->streams[i];
m_AudioStream = i;
|