]> git.sesse.net Git - ffmpeg/commit
lavc/sinewin: Do not declare AAC 120/960 tables as const.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sun, 14 Oct 2018 21:48:23 +0000 (23:48 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Fri, 19 Oct 2018 18:30:48 +0000 (20:30 +0200)
commit10f468156c0109a06854b5d672c5209a88923ce9
tree2cba12cbd22ba8d3303d677ace8182dd645c9e96
parentfeb05ffa99fc3633e5dd97916ac67dc4e7c76ab2
lavc/sinewin: Do not declare AAC 120/960 tables as const.

ff_sine_window_init() is writing to these tables causing
a crash if compiled with gcc 8 and lto.

Analyzed by Martin Liška in:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85132

Fixes ticket #7491.
libavcodec/sinewin.h
libavcodec/sinewin_tablegen.h
libavcodec/sinewin_tablegen_template.c
libavcodec/version.h