diff options
author | Ross Burton <ross.burton@intel.com> | 2019-07-19 21:19:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-22 17:31:04 +0100 |
commit | 560549ba5863ffc2e9103f0a4460726cdf14246b (patch) | |
tree | 1bf262b6781db1d35ffa6eee2d45c1c5bc37153d /meta | |
parent | 24015adec8c41250d3444b9fe5e75cbdab51b534 (diff) | |
download | poky-560549ba5863ffc2e9103f0a4460726cdf14246b.tar.gz |
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).
(From OE-Core rev: 51f13afe669638dbf72f464f243adccb22be3d21)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb | 1 |
1 files changed, 0 insertions, 1 deletions
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 = " \ | |||
106 | --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ | 106 | --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ |
107 | --extra-ldflags="${TARGET_LDFLAGS}" \ | 107 | --extra-ldflags="${TARGET_LDFLAGS}" \ |
108 | --sysroot="${STAGING_DIR_TARGET}" \ | 108 | --sysroot="${STAGING_DIR_TARGET}" \ |
109 | --enable-hardcoded-tables \ | ||
110 | ${EXTRA_FFCONF} \ | 109 | ${EXTRA_FFCONF} \ |
111 | --libdir=${libdir} \ | 110 | --libdir=${libdir} \ |
112 | --shlibdir=${libdir} \ | 111 | --shlibdir=${libdir} \ |