From: Ross Burton Date: Fri, 19 Jul 2019 20:19:57 +0000 (+0100) Subject: ffmpeg: don't use hardcoded lookup tables X-Git-Tag: uninative-2.7~706 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=51f13afe669638dbf72f464f243adccb22be3d21;p=openembedded-core.git ffmpeg: don't use hardcoded lookup tables ffmpeg can generate lookup tables at build time instead of runtime, but this is no longer a recommended option. The size impact is significant (12% of the total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't too costly, and only a few codecs actually use the pre-generated tables (MP3, notably). Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb index 147388d9b7..6d230c3316 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb @@ -106,7 +106,6 @@ EXTRA_OECONF = " \ --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ --extra-ldflags="${TARGET_LDFLAGS}" \ --sysroot="${STAGING_DIR_TARGET}" \ - --enable-hardcoded-tables \ ${EXTRA_FFCONF} \ --libdir=${libdir} \ --shlibdir=${libdir} \