Update to 1.4.0

This commit is contained in:
Simon Farnsworth 2014-10-08 17:25:38 +01:00
parent d585792198
commit 1bb677ede5
4 changed files with 7 additions and 41 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/libva-1.2.1.tar.bz2
/libva-1.3.0.tar.bz2
/libva-1.3.1.tar.bz2
/libva-1.4.0.tar.bz2

View File

@ -1,36 +0,0 @@
From d4988142a3f2256e38c5c5cdcdfc1b4f5f3c1ea9 Mon Sep 17 00:00:00 2001
From: Xiang, Haihao <haihao.xiang@intel.com>
Date: Thu, 18 Jul 2013 05:13:31 +0000
Subject: va: release VADisplayContext at the end of vaTerminate()
Otherwise it will result in invalid reading in va_TraceEnd()
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
---
(limited to 'va/va.c')
diff --git a/va/va.c b/va/va.c
index 6cb17ef..0ba595b 100644
--- a/va/va.c
+++ b/va/va.c
@@ -515,15 +515,15 @@ VAStatus vaTerminate (
free(old_ctx->vtable_vpp);
old_ctx->vtable_vpp = NULL;
- if (VA_STATUS_SUCCESS == vaStatus)
- pDisplayContext->vaDestroy(pDisplayContext);
-
VA_TRACE_LOG(va_TraceTerminate, dpy);
va_TraceEnd(dpy);
va_FoolEnd(dpy);
+ if (VA_STATUS_SUCCESS == vaStatus)
+ pDisplayContext->vaDestroy(pDisplayContext);
+
return vaStatus;
}
--
cgit v0.9.0.2-2-gbebe

View File

@ -1,12 +1,11 @@
Name: libva
Version: 1.3.1
Release: 4%{?dist}
Version: 1.4.0
Release: 1%{?dist}
Summary: Video Acceleration (VA) API for Linux
Group: System Environment/Libraries
License: MIT
URL: http://freedesktop.org/wiki/Software/vaapi
Source0: http://www.freedesktop.org/software/vaapi/releases/libva/libva-%{version}.tar.bz2
Patch0: firefox-crash-fix.patch
BuildRequires: libudev-devel
BuildRequires: libXext-devel
@ -51,7 +50,6 @@ of %{name}, including the vainfo tool for determining what (if any)
%prep
%setup -q
%patch0 -p1
%build
%configure --disable-static \
@ -95,6 +93,9 @@ find %{buildroot} -regex ".*\.la$" | xargs rm -f --
%{!?_without_wayland:%{_bindir}/putsurface_wayland}
%changelog
* Wed Oct 8 2014 Simon Farnsworth <simon.farnsworth@onelan.co.uk> - 1.4.0-1
- Update to 1.4.0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
eb4db967f068854444b597071c66b480 libva-1.3.1.tar.bz2
566e68d0a5a7758b2147dd3e60905bf3 libva-1.4.0.tar.bz2