aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2014-09-30 20:26:11 +0200
committerRainer Hochecker <fernetmenta@online.de>2014-09-30 20:26:11 +0200
commit1c8a04abd2efda8425c3bf5b52282fd9b0f74d47 (patch)
tree9f06c012a600c9699fdb3e8bdcbe2bacb87e4efd
parent8914bc81a6763be79d68f545c463e02989c0c2ba (diff)
parenta4edd0e8e2b710d227bec385f5865a0367ad8f29 (diff)
Merge pull request #5433 from arnova/vaapi_fix
fixed: Uninitialised variable in VAAPI
-rw-r--r--xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp
index 86a3e2308a..3432ff56e8 100644
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp
@@ -2667,7 +2667,9 @@ bool CVppPostproc::Filter(CVaapiProcessedPicture &outPic)
pipelineParams->num_filters = 1;
// references
- double pts, ptsLast = DVD_NOPTS_VALUE;
+ double ptsLast = DVD_NOPTS_VALUE;
+ double pts = DVD_NOPTS_VALUE;
+
pipelineParams->surface = VA_INVALID_SURFACE;
for (it=m_decodedPics.begin(); it!=m_decodedPics.end(); ++it)
{