[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1951-gec68ce3 |
Date: |
Fri, 25 Apr 2014 19:54:37 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via ec68ce333f6b23eacdef95e4d7beea8bbf6e1f49 (commit)
via e6bc1515615d1619c7b266a87c1f45f7dd9f1c07 (commit)
from 987e0380f3703211b268e90f9ccec73e03cc31ff (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=ec68ce333f6b23eacdef95e4d7beea8bbf6e1f49
commit ec68ce333f6b23eacdef95e4d7beea8bbf6e1f49
Author: Bastiaan Jacques <address@hidden>
Date: Fri Apr 25 21:53:47 2014 +0200
Safely zero-initialize 'this'.
diff --git a/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp
b/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp
index aac3626..95dea86 100644
--- a/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp
+++ b/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp
@@ -95,10 +95,9 @@ void vaapi_set_surface(AVFrame *pic, VaapiSurfaceFfmpeg
*surface)
}
VaapiContextFfmpeg::VaapiContextFfmpeg(enum CODECID codec_id)
- : _context(new VaapiContext(get_profile(codec_id), VAEntrypointVLD))
+ : vaapi_context(), // FFmpeg's vaapi_context must be zero-initialized
+ _context(new VaapiContext(get_profile(codec_id), VAEntrypointVLD))
{
- // FFmpeg's vaapi_context must be zero-initialized
- memset(this, 0, sizeof(struct vaapi_context));
}
bool VaapiContextFfmpeg::initDecoder(unsigned int width, unsigned int height)
http://git.savannah.gnu.org/cgit//commit/?id=e6bc1515615d1619c7b266a87c1f45f7dd9f1c07
commit e6bc1515615d1619c7b266a87c1f45f7dd9f1c07
Author: Bastiaan Jacques <address@hidden>
Date: Fri Apr 25 21:53:12 2014 +0200
Permit building against newer libva. Based on
https://code.mythtv.org/trac/changeset/3b618cdb7efa264d5bd41da143bf12c67e4afeb0/mythtv
.
diff --git a/libdevice/vaapi/vaapi_common.h b/libdevice/vaapi/vaapi_common.h
index 8088e32..debcc32 100644
--- a/libdevice/vaapi/vaapi_common.h
+++ b/libdevice/vaapi/vaapi_common.h
@@ -25,6 +25,10 @@
#endif
#include <va/va.h>
+#if VA_CHECK_VERSION(0,34,0)
+#include <va/va_compat.h>
+#endif
+
#include <memory>
#include <stdint.h>
#include <boost/cstdint.hpp>
-----------------------------------------------------------------------
Summary of changes:
libdevice/vaapi/vaapi_common.h | 4 ++++
libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp | 5 ++---
2 files changed, 6 insertions(+), 3 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1951-gec68ce3,
Bastiaan Jacques <=