git.videolan.org Git - ffmpeg.git/rss log
FFmpeg git repo
Les articles publiés sur le site
-
avcodec/aac/aacdec_float : Call ff_aac_float_common_init() only once
6 mai, par Andreas Rheinhardt -
avcodec/aac/aacdec : Avoid branch to set sample_fmt
6 mai, par Andreas Rheinhardt -
avcodec/aac/aacdec : Move channel number check out of init_dsp()
6 mai, par Andreas Rheinhardt -
avcodec/aac/aacdec : Remove unnecessary ff_thread_once()
6 mai, par Andreas Rheinhardt -
avcodec/aacsbr : Fix type mismatch
6 mai, par Andreas Rheinhardtavcodec/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>