| Summary: | media-video/ffmpeg-9999 - In file included from src/libavcodec/qdm2_tablegen.c:24: src/libavcodec/get_bits.h: In function 'init_get_bits': src/libavcodec/get_bits.h:432:40: error: 'AV_INPUT_BUFFER_PADDING_SIZE' undeclared | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex <fhlfibh> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
emerge -pqv gzipped build log |
||
Created attachment 525974 [details]
emerge --info
Created attachment 525976 [details]
emerge -pqv
Please attach the entire build log to this bug report. Created attachment 526018 [details]
gzipped build log
Today it compiles. I didn't change anything in my system, `emerge` simply pulled in new source code from git. The issue was introduced March 26th: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=e529fe76 and fixed three days later: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=5c75438b Thanks for update Alex! Thanks for insight Carl Eugen! Closing. |
Hi, ffmpeg-9999 fails with the error: ----------------------------------------------------------------------- n file included from src/libavcodec/tableprint.h:29:0, from src/libavcodec/tableprint_vlc.h:38, from src/libavcodec/qdm2_tablegen.c:24: src/libavcodec/get_bits.h: In function 'init_get_bits': src/libavcodec/get_bits.h:432:40: error: 'AV_INPUT_BUFFER_PADDING_SIZE' undeclared (first use in this function) if (bit_size >= INT_MAX - FFMAX(7, AV_INPUT_BUFFER_PADDING_SIZE*8) || bit_size < 0 || !buffer) { ^ src/libavutil/common.h:94:28: note: in definition of macro 'FFMAX' #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) ^ src/libavcodec/get_bits.h:432:40: note: each undeclared identifier is reported only once for each function it appears in if (bit_size >= INT_MAX - FFMAX(7, AV_INPUT_BUFFER_PADDING_SIZE*8) || bit_size < 0 || !buffer) { ^ src/libavutil/common.h:94:28: note: in definition of macro 'FFMAX' #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) ^ make: *** [/var/tmp/portage/media-video/ffmpeg-9999/work/ffmpeg-9999/ffbuild/common.mak:152: libavcodec/qdm2_tablegen.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: media-video/ffmpeg-9999::gentoo failed (compile phase): -------------------------------------------------------------------- Build log and 'emerge --info' are attached. Regards, Alex