--- /dev/null
+--- freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c~ 2018-04-29 09:45:20.000000000 +0200
++++ freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c 2018-04-29 09:46:56.321113085 +0200
+@@ -154,8 +154,8 @@
+ }
+ }
+
+- if (mdecoder->codec->capabilities & CODEC_CAP_TRUNCATED)
+- mdecoder->codec_context->flags |= CODEC_FLAG_TRUNCATED;
++ if (mdecoder->codec->capabilities & AV_CODEC_CAP_TRUNCATED)
++ mdecoder->codec_context->flags |= AV_CODEC_FLAG_TRUNCATED;
+
+ return true;
+ }
Summary(pl.UTF-8): Klient protokołu RDP
Name: freerdp
Version: 1.0.2
-Release: 7
+Release: 8
License: Apache v2.0
Group: Applications/Communications
Source0: http://pub.freerdp.com/releases/%{name}-%{version}.tar.gz
# Source0-md5: 08f0e07d8d77e142f7dc39e4033a458d
Patch0: %{name}-ffmpeg.patch
Patch1: ffmpeg3.patch
+Patch2: ffmpeg4.patch
URL: http://www.freerdp.com/
%{?with_directfb:BuildRequires: DirectFB-devel}
%{?with_alsa:BuildRequires: alsa-lib-devel}
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
cat << EOF > xfreerdp.desktop
[Desktop Entry]