flag --enable-hardcoded-tables breaks compilation of git master branch #21102
Labels
No labels
avcodec
avdevice
avfilter
avformat
avutil
backport/release/4.3
backport/release/4.4
backport/release/5.0
backport/release/5.1
backport/release/6.0
backport/release/6.1
backport/release/7.0
backport/release/7.1
backport/release/8.0
backport/release/8.1
backport/release/9.0
backport/release/9.1
CLI
doc
Forgejo Fairy
swresample
swscale
vulkan
API
API major
bug
enhancement
fix/bug
fix/regression
GSoC
GSoC-Qualification
help wanted
important
LGTM
meta
needs backport
needs docs
needs fate test
needs info
needs sample
needs testing
new
question
regression
repro
flaky
repro
no
repro
no(env)
repro
yes
resolution
duplicate
resolution
external
resolution
fixed
resolution
invalid
resolution
wontfix
security
small
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
FFmpeg/FFmpeg#21102
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
git clone https://code.ffmpeg.org/FFmpeg/FFmpeg.git
cd ffmpeg
mkdir test
cd test
../configure --enable-hardcoded-tables
make
.
.
.
CC libavcodec/qcelpdec.o
HOSTCC libavcodec/qdm2_tablegen.o
In file included from src/libavcodec/tableprint_vlc.h:41,
from src/libavcodec/qdm2_tablegen.c:24:
src/libavcodec/vlc.c: In function ‘ff_vlc_init_multi_from_lengths’:
src/libavcodec/vlc.c:530:20: error: implicit declaration of function ‘av_mallocz’; did you mean ‘av_malloc’? [-Wimplicit-function-declaration]
530 | multi->table = av_mallocz(sizeof(*multi->table) << nb_bits);
| ^~~~~~~~~~
| av_malloc
src/libavcodec/vlc.c:530:18: error: assignment to ‘VLC_MULTI_ELEM *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
530 | multi->table = av_mallocz(sizeof(*multi->table) << nb_bits);
| ^
In file included from src/libavcodec/qdm2_tablegen.c:26:
src/libavcodec/qdm2_tablegen.h: In function ‘build_vlc’:
src/libavcodec/qdm2_tablegen.h:120:30: warning: pointer targets in passing argument 4 of ‘ff_vlc_init_from_lengths’ differ in signedness [-Wpointer-sign]
120 | &tab[0][1], 2, &tab[0][0], 2, 1,
| ^~~~~~~~~~
| |
| const uint8_t * {aka const unsigned char *}
src/libavcodec/vlc.c:307:44: note: expected ‘const int8_t *’ {aka ‘const signed char *’} but argument is of type ‘const uint8_t *’ {aka ‘const unsigned char *’}
307 | const int8_t *lens, int lens_wrap,
| ~~~~~~~~~~~~~~^~~~
make: *** [/home/macchinista/Sources/ffmpeg/ffbuild/common.mak:238: libavcodec/qdm2_tablegen.o] Error 1