#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
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".