#1399(avformat:new): ffmpeg fails to compile with bintext demuxer disabled and either xbin, adf or idf demuxers enabled
#1399: ffmpeg fails to compile with bintext demuxer disabled and either xbin, adf or idf demuxers enabled -------------------------------------+------------------------------------- Reporter: jamal | Type: defect Status: new | Priority: normal Component: avformat | Version: git- Keywords: bintext | master xbin adf idf demuxer | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- The following configurations fail: {{{ ./configure --disable-everything --enable-demuxer=xbin ./configure --disable-everything --enable-demuxer=adf ./configure --disable-everything --enable-demuxer=idf }}} All giving the same error, save for the "In function" line which varies depending on which of those three demuxer is enabled: {{{ CC libavformat/bintext.o libavformat/bintext.c: In function 'xbin_read_header': libavformat/bintext.c:193:5: error: implicit declaration of function 'init_stream' [-Werror=implicit-function-declaration] libavformat/bintext.c:193:20: warning: initialization makes pointer from integer without a cast [enabled by default] cc1.exe: some warnings being treated as errors }}} The problem is that the function init_stream() is inside an #if directive that needs the bintext demuxer enabled in order to be compiled. Said function should be outside that #if directive since it's needed by all four demuxers. For the record, i wanted to mention that i found this problem purely by chance thanks to the --enable-random feature added to git-master a few hours ago. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1399> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1399: ffmpeg fails to compile with bintext demuxer disabled and either xbin, adf or idf demuxers enabled -------------------------------------+------------------------------------- Reporter: jamal | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: bintext | Blocked By: xbin adf idf | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: bintext xbin adf idf demuxer => bintext xbin adf idf * status: new => closed * resolution: => fixed * reproduced: 0 => 1 Comment: Credits for --enable-random go to Måns. Should be fixed in my next push, thank you for the report! -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1399#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg