diff options
Diffstat (limited to 'audio/kradio/kradio-4.0.2-ffmpeg08.patch')
-rw-r--r-- | audio/kradio/kradio-4.0.2-ffmpeg08.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/kradio/kradio-4.0.2-ffmpeg08.patch b/audio/kradio/kradio-4.0.2-ffmpeg08.patch new file mode 100644 index 0000000000..c6cbf90ed0 --- /dev/null +++ b/audio/kradio/kradio-4.0.2-ffmpeg08.patch @@ -0,0 +1,11 @@ +--- plugins/internetradio/decoder_thread.cpp.ffmpeg 2011-06-26 02:14:41.000000000 +0200 ++++ plugins/internetradio/decoder_thread.cpp 2011-06-26 02:14:55.000000000 +0200 +@@ -535,7 +535,7 @@ + m_av_audioStream = -1; + for (unsigned int i = 0; i < m_av_pFormatCtx->nb_streams; i++) { + // if (m_av_pFormatCtx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO && m_av_audioStream < 0) { +- if (m_av_pFormatCtx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO) { // take last stream ++ if (m_av_pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) { // take last stream + m_av_audioStream = i; + } + } |