shithub: openh264

Download patch

ref: 9bae4fd2e64367ad0eeb4d08797126c757f94c37
parent: 245a592955d6cbdec480693dd186ac139b650411
author: Thibault Saunier <tsaunier@igalia.com>
date: Thu Jun 28 11:30:37 EDT 2018

meson: Add -Wno-classmemacces to the compiler

Build fails with gcc 8 otherwise and the only place where it happens has
been explicitely marked as safe in encode_ext.cpp:

    memcpy (pCtx->pSvcParam, pCodingParam, sizeof (SWelsSvcCodingParam)); // confirmed_safe_unsafe_usage"

--- a/meson.build
+++ b/meson.build
@@ -45,6 +45,7 @@
 
 supported_arguments = cpp.get_supported_arguments([
   '-Wno-non-virtual-dtor',
+  '-Wno-class-memaccess',
   '-Wno-strict-aliasing'])
 
 add_project_arguments(supported_arguments, language: 'cpp')