Changed files:
libdlna-ffmpeg.patch -> 1.1
libdlna.spec -> 1.8
--- /dev/null
+--- libdlna-0.2.3/src/profiles.c~ 2007-11-26 21:47:43.000000000 +0100
++++ libdlna-0.2.3/src/profiles.c 2011-09-01 14:10:36.187916662 +0200
+@@ -205,13 +205,13 @@
+ for (i = 0; i < ctx->nb_streams; i++)
+ {
+ if (audio_stream == -1 &&
+- ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
++ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
+ {
+ audio_stream = i;
+ continue;
+ }
+ else if (video_stream == -1 &&
+- ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO)
++ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
+ {
+ video_stream = i;
+ continue;
Summary(pl.UTF-8): Biblioteka DLNA
Name: libdlna
Version: 0.2.3
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
Source0: http://libdlna.geexbox.org/releases/%{name}-%{version}.tar.bz2
# Source0-md5: 2c974f95b711e5fd07f78fc4ebfcca66
Patch0: %{name}-ffmpeg_paths.patch
+Patch1: %{name}-ffmpeg.patch
URL: http://libdlna.geexbox.org
BuildRequires: ffmpeg-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
./configure \