[FFmpeg-trac] #2079(build system:new): Configure script processes nonexistent in/outdevs, de/muxers and de/encoders named "x"

FFmpeg trac at avcodec.org
Sat Dec 29 23:02:23 CET 2012


#2079: Configure script processes nonexistent in/outdevs, de/muxers and
de/encoders named "x"
-------------------------------------+-------------------------------------
               Reporter:  jamal      |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:  build
                Version:  git-       |  system
  master                             |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 Commit c73c87b made some cosmetic changes that broke the output of a sed
 regexp from the configure script, generating nonexistent components called
 "x".

 Example of the configure script output on a default win32 build:
 {{{
 Enabled decoders:
 aac                     c93                     indeo4
 aac_latm                cavs                    indeo5
 [...]
 ptx                     tiff                    x
 qcelp                   tmv                     xan_dpcm
 [...]

 Enabled encoders:
 a64multi                jpegls                  png
 a64multi5               ljpeg                   ppm
 [...]
 flashsv                 pcm_u16le               x
 flashsv2                pcm_u24be               xbm
 [...]

 Enabled demuxers:
 aac                     iff                     pcm_u32le
 ac3                     ilbc                    pcm_u8
 [...]
 gxf                     pcm_s32be               x
 h261                    pcm_s32le               xa
 [...]

 Enabled muxers:
 a64                     image2pipe              pcm_s16be
 ac3                     ipod                    pcm_s16le
 [...]
 ico                     pcm_f64le               x
 ilbc                    pcm_mulaw               yuv4mpegpipe
 image2

 Enabled indevs:
 lavfi                   vfwcap                  x

 Enabled outdevs:
 x
 }}}

 You can see this all around FATE as well.

 The problem is that the cosmetic changes made REGISTER_ENCDEC,
 REGISTER_MUXDEMUX and REGISTER_INOUTDEV be defined in more than one line.

 Before

 {{{
 #define REGISTER_INOUTDEV(X,x)  REGISTER_OUTDEV(X,x); REGISTER_INDEV(X,x)
 }}}
 After
 {{{
 #define REGISTER_INOUTDEV(X, x)                                         \
     REGISTER_OUTDEV(X, x);                                              \
     REGISTER_INDEV(X, x)
 }}}

 Since the calls are in their own separate lines, the sed regexp processes
 them as components.

 Easiest solution would be to put them again on a single line.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2079>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list