summaryrefslogtreecommitdiff
path: root/community-staging/qmmp/ffmpeg-0.11.diff
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/qmmp/ffmpeg-0.11.diff')
-rw-r--r--community-staging/qmmp/ffmpeg-0.11.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/community-staging/qmmp/ffmpeg-0.11.diff b/community-staging/qmmp/ffmpeg-0.11.diff
new file mode 100644
index 000000000..f414ffbf6
--- /dev/null
+++ b/community-staging/qmmp/ffmpeg-0.11.diff
@@ -0,0 +1,14 @@
+Index: src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp
+===================================================================
+--- src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp (revision 2728)
++++ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp (revision 2729)
+@@ -133,9 +133,6 @@
+ m_stream->seekable = !input()->isSequential();
+ m_stream->max_packet_size = INPUT_BUFFER_SIZE;
+
+- AVFormatParameters ap;
+- memset(&ap, 0, sizeof(ap));
+-
+ if(avformat_open_input(&ic, m_path.toLocal8Bit().constData(), fmt, 0) != 0)
+ {
+ qDebug("DecoderFFmpeg: av_open_input_stream() failed");