]> git.sesse.net Git - ffmpeg/commit
avcodec/tableprint: Don't include mem_internal.h
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 6 Jan 2021 21:40:28 +0000 (22:40 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 22 Jan 2021 18:09:57 +0000 (19:09 +0100)
commitda607832b57607fe9221bc2ecd25ea25ef6dd3aa
tree6d68fea521a710588c937158344c8ed9338c2dcd
parent3ce97d8ddd68ff7fddcc75ae1a9b29abcb5acad0
avcodec/tableprint: Don't include mem_internal.h

tableprint.h does not declare anything as aligned; it just prints
DECLARE_ALIGNED. So it can be removed; in fact, it needs to be removed,
because mem_internal.h includes config.h which leads to warnings when
building with hardcoded tables enabled because of redefinitions of
CONFIG_HARDCODED_TABLES.

(Furthermore, config.h is only valid for the target, not the host,
so HAVE_LOCAL_ALIGNED might even be wrong here.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/tableprint.h