mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: add PR4649
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
75c78eb8c9
commit
42cbbc52dd
@ -0,0 +1,24 @@
|
||||
From 790ed5ba43eac186291193accff14aef58766897 Mon Sep 17 00:00:00 2001
|
||||
From: Rainer Hochecker <fernetmenta@online.de>
|
||||
Date: Sun, 4 May 2014 16:54:58 +0200
|
||||
Subject: [PATCH] VDPAU: fix segfault if vdpau fails to open context
|
||||
|
||||
---
|
||||
xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
|
||||
index 2468db3..d0188bb 100644
|
||||
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
|
||||
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
|
||||
@@ -134,6 +134,7 @@ bool CVDPAUContext::EnsureContext(CVDPAUContext **ctx)
|
||||
{
|
||||
delete m_context;
|
||||
m_context = 0;
|
||||
+ *ctx = NULL;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
--
|
||||
1.9.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user