mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
7a6800c69c
I did not test build this against ffmpeg 0.8, only against what's in the repo at the time: ffmpeg 0.6.1. It compiles, no idea if it works. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
11 lines
658 B
Diff
11 lines
658 B
Diff
--- 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;
|
|
}
|
|
}
|