Ticket #1030 (closed defect: fixed)
Doesn't build with -Werror=format-security
| Reported by: | marillat | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | 0.10 | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Hi,
Debian use hardening compile-time options http://wiki.debian.org/Hardening
ffmpeg fail to build with "-Werror=format-security"
libavcodec/srtdec.c: In function ‘srt_to_ass’: libavcodec/srtdec.c:113:61: error: format not a string literal and no format arguments [-Werror=format-security] libavcodec/srtdec.c:113:61: error: format not a string literal and no format arguments [-Werror=format-security] libavcodec/srtdec.c:149:53: error: format not a string literal and no format arguments [-Werror=format-security] libavcodec/srtdec.c:149:53: error: format not a string literal and no format arguments [-Werror=format-security]
Patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658929#15 fix this bug.
Christian
Change History
Note: See
TracTickets for help on using
tickets.



Is this not reproducible with current git head?
Please send patches to ffmpeg-devel where they can be discussed.