[FFmpeg-trac] #7491(avcodec:new): aac crashes with gcc 8.2 lto

FFmpeg trac at avcodec.org
Sun Oct 14 20:21:49 EEST 2018


#7491: aac crashes with gcc 8.2 lto
------------------------------------+-----------------------------------
             Reporter:  Hello71     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * priority:  normal => important
 * version:  unspecified => git-master


Comment:

 Does the following change fix the crash for you?
 {{{
 diff --git a/libavcodec/sinewin.h b/libavcodec/sinewin.h
 index 6b97a71..a0802ac 100644
 --- a/libavcodec/sinewin.h
 +++ b/libavcodec/sinewin.h
 @@ -26,7 +26,7 @@
  #include "libavcodec/aac_defines.h"

  #if CONFIG_HARDCODED_TABLES
 -#   define SINETABLE_CONST const
 +#   define SINETABLE_CONST
  #else
  #   define SINETABLE_CONST
  #endif
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7491#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list