diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-06 10:37:17 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-06 23:57:41 +0200 |
commit | 44474dd7b9e1d2ac842935fc139d9e8517c53002 (patch) | |
tree | 32a1506bb0ce363af388b780e413bb3a3f070e87 /libavcodec/vvc.h | |
parent | e6bf5400485a42ff197ea8a0f378ed6ab08856f7 (diff) | |
download | ffmpeg-44474dd7b9e1d2ac842935fc139d9e8517c53002.tar.gz |
avcodec/aacsbr: Fix type mismatch
ff_aac_sbr_apply() and ff_aac_sbr_apply_fixed() still used
pointers to INTFLOAT which is float or int depending upon
whether USE_FIXED is set or not; in particular, according
to these declarations both functions have the same type.
But that is wrong and given that aacdec.c sets USE_FIXED,
it sees the wrong type for ff_aac_sbr_apply().
This leads to a -Wlto-type-mismatch warning when using lto [1].
Fix this by avoiding INTFLOAT in aacsbr.h (which also means
that aac_defines.h need not be included there any more).
[1]: https://fate.ffmpeg.org/log.cgi?slot=x86_64-archlinux-gcc-lto&time=20240506022217&log=compile
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vvc.h')
0 files changed, 0 insertions, 0 deletions