[FFmpeg-trac] #266(avcodec:new): ARM: "size of array is negative" in mpegvideo_arm.c

FFmpeg trac at avcodec.org
Sat Jun 18 19:32:41 CEST 2011


#266: ARM: "size of array is negative" in mpegvideo_arm.c
------------------------+----------------------
Reporter:  adfernandes  |       Owner:
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  avcodec
 Version:  git-master   |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  0
Analyzed:  0            |
------------------------+----------------------

Comment (by adfernandes):

 Okay - it turns out that there are two errors here.

 First, it was commit dba9852935f31d81d16bf26ee21d164d5d5f5764 that broke
 "gas-preprocessor" for Apple. Fortunately, I found that aumuell's fork has
 been patched to fix this (https://github.com/aumuell/gas-preprocessor) but
 so far neither yuvi's or mansr's forks of gas-preprocessor have pulled in
 the required patches.

 Now, however, we get back to the original error:


 CC      libavcodec/arm/mpegvideo_arm.o
 ffmpeg/libavcodec/arm/mpegvideo_arm.c:28: error: size of array
 ‘x_Y_DC_SCALE’ is negative
 ffmpeg/libavcodec/arm/mpegvideo_arm.c:29: error: size of array
 ‘x_C_DC_SCALE’ is negative
 ffmpeg/libavcodec/arm/mpegvideo_arm.c:30: error: size of array ‘x_AC_PRED’
 is negative
 ffmpeg/libavcodec/arm/mpegvideo_arm.c:31: error: size of array
 ‘x_BLOCK_LAST_INDEX’ is negative
 ffmpeg/libavcodec/arm/mpegvideo_arm.c:32: error: size of array
 ‘x_INTER_SCANTAB_RASTER_END’ is negative
 ffmpeg/libavcodec/arm/mpegvideo_arm.c:33: error: size of array
 ‘x_H263_AIC’ is negative

 Using git-bisect to track that down, now.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/266#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list