[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:
{{{
[01m[Ksrc/libavcodec/librsvgdec.c:[m[K In function
'[01m[Klibrsvg_decode_frame[m[K':
[01m[Ksrc/libavcodec/librsvgdec.c:93:5:[m[K [01;31m[Kerror:
[m[K'[01m[Kviewport[m[K' undeclared (first use in this function)
93 | [01;31m[Kviewport[m[K.width = dimensions.width;
| [01;31m[K^~~~~~~~[m[K
[01m[Ksrc/libavcodec/librsvgdec.c:93:5:[m[K [01;36m[Knote:
[m[Keach 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