Opened 2 years ago
Closed 2 weeks ago
#10635 closed defect (fixed)
compilation error at line 93 of librsvgdec.c
| Reported by: | S.C. Douglas | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | avcodec |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
build against librsvg version less than 2.52
The following allows a build to finish but I have not checked against any test cases:
--- a/libavcodec/librsvgdec.c 2023-10-23 18:58:32.004460000 +0100
+++ b/libavcodec/librsvgdec.c 2023-10-23 19:57:06.170000000 +0100
@@ -90,8 +90,10 @@
goto end;
avctx->pix_fmt = AV_PIX_FMT_RGB32;
| LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION >= 52 |
viewport.width = dimensions.width;
viewport.height = dimensions.height;
+#endif
ret = ff_get_buffer(avctx, frame, 0);
if (ret < 0)
Change History (3)
comment:1 by , 2 years ago
| Status: | new → open |
|---|
comment:2 by , 2 weeks ago
As the origionator, I can confirm this defect is overtaken by events i.e. changes since it was raised have modified the problematic code i.e. the compilation error no longer occurs.
I recomend this ticket is closed.
comment:3 by , 2 weeks ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |



86ed68420d3b60439d0b7767c53d0fdc1deb7277 says that older version should still be supported.