diff options
Diffstat (limited to 'media-sound/gejengel/files/gejengel-0.1.4-ffmpeg.patch')
-rw-r--r-- | media-sound/gejengel/files/gejengel-0.1.4-ffmpeg.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/gejengel/files/gejengel-0.1.4-ffmpeg.patch b/media-sound/gejengel/files/gejengel-0.1.4-ffmpeg.patch new file mode 100644 index 000000000000..658ff0ca675c --- /dev/null +++ b/media-sound/gejengel/files/gejengel-0.1.4-ffmpeg.patch @@ -0,0 +1,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; |