[FFmpeg-devel] [PATCH] avcodec/aacps_tablegen_template: don't redefine CONFIG_HARDCODED_TABLES

Lynne dev at lynne.ee
Thu Aug 1 17:21:14 EEST 2024


On 31/07/2024 16:35, James Almer wrote:
> Fixes relevant warnings when compiling with --enable-hardcoded-tables
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   libavcodec/aacps_tablegen_template.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/aacps_tablegen_template.c b/libavcodec/aacps_tablegen_template.c
> index e70edf884b..e05887b9b1 100644
> --- a/libavcodec/aacps_tablegen_template.c
> +++ b/libavcodec/aacps_tablegen_template.c
> @@ -22,6 +22,8 @@
>   
>   #include <stdlib.h>
>   #define BUILD_TABLES
> +#include "config.h"
> +#undef CONFIG_HARDCODED_TABLES
>   #define CONFIG_HARDCODED_TABLES 0
>   #include "aac_defines.h"
>   

Sure, LGTM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA2FEA5F03F034464.asc
Type: application/pgp-keys
Size: 624 bytes
Desc: OpenPGP public key
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240801/638d9ca9/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240801/638d9ca9/attachment.sig>


More information about the ffmpeg-devel mailing list