[FFmpeg-trac] #10722(avcodec:new): Build failure with librsvg older than 2.52

FFmpeg trac at avcodec.org
Tue Dec 5 00:03:41 EET 2023


#10722: Build failure with librsvg older than 2.52
----------------------------------+---------------------------------------
             Reporter:  Lastique  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  unspecified
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Compiling ffmpeg 6.1 on Debian Bullseye with librsvg 2.50.3 fails with the
 following error:

 {{{
 src/libavcodec/librsvgdec.c: In function
 'librsvg_decode_frame':
 src/libavcodec/librsvgdec.c:93:5: error:
 'viewport' undeclared (first use in this function)
    93 |     viewport.width = dimensions.width;
       |     ^~~~~~~~
 src/libavcodec/librsvgdec.c:93:5: note:
 each undeclared identifier is reported only once for each function
 it appears in
 }}}

 It looks like there is a missing librsvg version check in
 libavcodec/librsvgdec.c:93.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10722>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list