- Fix build with ffmpeg 0.11
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=6
This commit is contained in:
parent
a4b91b4350
commit
760018fe5d
14
qmmp-0.5.5-ffmpeg_011.patch
Normal file
14
qmmp-0.5.5-ffmpeg_011.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp
|
||||||
|
===================================================================
|
||||||
|
--- src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp.orig
|
||||||
|
+++ src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp
|
||||||
|
@@ -133,9 +133,6 @@ bool DecoderFFmpeg::initialize()
|
||||||
|
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");
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 27 23:35:53 UTC 2012 - reddwarf@opensuse.org
|
||||||
|
|
||||||
|
- Fix build with ffmpeg 0.11
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 26 10:45:52 UTC 2012 - reddwarf@opensuse.org
|
Sat May 26 10:45:52 UTC 2012 - reddwarf@opensuse.org
|
||||||
|
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with ffmpeg
|
%bcond_without ffmpeg
|
||||||
%bcond_with mad
|
%bcond_without mad
|
||||||
%bcond_with faad
|
%bcond_without faad
|
||||||
|
|
||||||
%define soname 0
|
%define soname 0
|
||||||
|
|
||||||
@ -31,6 +31,8 @@ Group: Productivity/Multimedia/Sound/Players
|
|||||||
Url: http://qmmp.ylsoftware.com/
|
Url: http://qmmp.ylsoftware.com/
|
||||||
Source0: http://qmmp.googlecode.com/files/qmmp-%{version}.tar.bz2
|
Source0: http://qmmp.googlecode.com/files/qmmp-%{version}.tar.bz2
|
||||||
Patch0: qmmp-0.5.5-libcdio_mess.patch
|
Patch0: qmmp-0.5.5-libcdio_mess.patch
|
||||||
|
# Already in trunk
|
||||||
|
Patch1: qmmp-0.5.5-ffmpeg_011.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -116,6 +118,7 @@ Development files for libqmmp.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user