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.
Showing
- libavcodec/sinewin.h 5 additions, 2 deletionslibavcodec/sinewin.h
- libavcodec/sinewin_tablegen.h 2 additions, 2 deletionslibavcodec/sinewin_tablegen.h
- libavcodec/sinewin_tablegen_template.c 2 additions, 0 deletionslibavcodec/sinewin_tablegen_template.c
- libavcodec/version.h 1 addition, 1 deletionlibavcodec/version.h
Loading
Please register or sign in to comment