- Mar 24, 2025
-
-
fabio authored
Signed-off-by:
Petter Reinholdtsen <pere@hungry.com>
-
fabio authored
Signed-off-by:
Petter Reinholdtsen <pere@hungry.com>
-
- Mar 22, 2025
-
-
Petter Reinholdtsen authored
Updated the most used links and a few more after manually checking the https variant of the link still lead to a web page. Some URLs no longer work, these were not changed to https. Also changed xiph.org->www.xiph.org. Did not change anything in the draft RFCs. Fixes #2332
-
- Mar 21, 2025
-
-
Petter Reinholdtsen authored
Patch from fabio, wrapped to fit within 80 char lines, and added exit code 1 to error situations. Fixes #2336
-
Petter Reinholdtsen authored
Leftover from 10b3ce94. Fixes #2335
-
- Mar 20, 2025
-
-
Tristan Matthews authored
-
- Mar 19, 2025
-
-
Petter Reinholdtsen authored
-
Petter Reinholdtsen authored
-
Petter Reinholdtsen authored
-
Petter Reinholdtsen authored
This allow us to see how the MacOSX build is working.
-
Petter Reinholdtsen authored
This better reflect the set of tools involved.
-
- Mar 17, 2025
-
-
Petter Reinholdtsen authored
This avoid calling malloc(0) expecting a non-NULL pointer returned, and make the code in oc_comment_unpack() not depend on non POSIX specified behaviour. Ensured comment_lengths and user_comments are NULL if there are no comments. Thanks to Eric Lasota for noticing. Fixes #2304
-
- Mar 16, 2025
-
-
Petter Reinholdtsen authored
Document the need for ogg 1.3.4 and use the 1.2.0 version number more places. Move required ogg version to configure.ac substitution variable. Fixes #2328
-
Petter Reinholdtsen authored
Based on script posted to https://bugs.debian.org/516343 in 2009 by Robert Millan. Fixes #1601
-
Petter Reinholdtsen authored
Fixes #2331
-
Petter Reinholdtsen authored
-
- Mar 15, 2025
-
-
Petter Reinholdtsen authored
Increased libtool TH*_LIB_CURRENT and thus minor version of SONAME as API of a few methods changes by adding 'const' to some of the char * arguments in codec.h. A 1.2.0 release is planned in two weeks. Related to #2319.
-
- Mar 14, 2025
-
-
Jörn Heusipp authored
CI currently does not thoroughly test encoding and decoding (except for encoding zeroed dummy frames). Testing --disable-asm is still useful because it ensures that the code compiles on platforms where there are no ASM optimizations and the generic C code paths are used.
-
- Mar 10, 2025
-
-
Petter Reinholdtsen authored
Adjust clang CI run to report warning about reserved identifiers.
-
Petter Reinholdtsen authored
A crash was discovered using input fuzzying, in th_decode_ceaderin() where the len value in the oc_fuff_tree_unpack() can end up as -1. Added a check to ensure this do not happen. Based on feedback from Timothy B. Terriberry. The issue was discovered using gcc sanitazion, which reported the following: huffdec.c:228:27: runtime error: shift exponent -1 is negative #0 0x5d471012bfd0 in oc_huff_tree_unpack /home/uos/libtheora-18570/theora/lib/huffdec.c:228 #1 0x5d471012c134 in oc_huff_trees_unpack /home/uos/libtheora-18570/theora/lib/huffdec.c:392 #2 0x5d471010a98c in oc_setup_unpack /home/uos/libtheora-18570/theora/lib/decinfo.c:169 #3 0x5d471010a98c in oc_dec_headerin /home/uos/libtheora-18570/theora/lib/decinfo.c:238 #4 0x5d471010a98c in th_decode_headerin /home/uos/libtheora-18570/theora/lib/decinfo.c:266 #5 0x5d47100fd638 in TheoraDecoder::initialize() /home/uos/libtheora-18570/libtheora-18570/fuzzer.cpp:66 #6 0x5d47100ffa76 in TheoraDecoder::Run() /home/uos/libtheora-18570/libtheora-18570/fuzzer.cpp:180 #7 0x5d47100ffe48 in main /home/uos/libtheora-18570/libtheora-18570/fuzzer.cpp:240 #8 0x7cc9a5e29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7cc9a5e29e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5d47100f9964 in _start (/home/uos/libtheora-18570/libtheora-18570/poc1+0x83964) Fixes github pull request #19.
-
Petter Reinholdtsen authored
Do not build examples, as it require libvorbis, and do not build documentation as it require a host of programs not available during cross building.
-
Petter Reinholdtsen authored
During video playout using player_example with gcc sanitaztions enabled, new bit shifting of negative values were discovered. Replaced this with multiplication too.
-
- Mar 09, 2025
-
-
Petter Reinholdtsen authored
Leftover changes from a6766c94. Use multiplication instead, allowing the compiler to optimize to bitshifts if it believe it to be safe. Partly solves github issue #18.
-
Petter Reinholdtsen authored
-
Petter Reinholdtsen authored
These have not been updated since before the code was migrated to git, and both no longer make sense and are not correct.
-
Petter Reinholdtsen authored
-
Petter Reinholdtsen authored
The 'int x=x' style statement do not make sense and cause problems with some compilers. Replace it with more sensible initializers to ensure the value have a well known starting point. Using initializers proposed by Timothy B. Terriberry in !25. Added -Werror=uninitialized -Winit-self to default GCC build to ensure this style of statement do not sneak into the code again. Fixes #2317
-
Petter Reinholdtsen authored
The security issue CVE-2024-56431 was discovered using GCC address sanitaztion. Make it easier to run this check, and run it in gitlab CI. Based on a comment in !28.
-
Petter Reinholdtsen authored
Ran 'cp Doxygen.in Doxygen; doxygen -u; cp Doxygen Doxygen.in' and removed DOT_FONTNAME reference to non-free font.
-
Petter Reinholdtsen authored
Check if argument is null before using this approach, and just return zero when the value to do bit count on is zero. Fixes a issue discovered by --enable-gcc-sanitizers in !31: ../../lib/encode.c:1384:49: runtime error: passing zero to clz(), which is not a valid argument #0 0x7f0af5dae97d in th_encode_ctl ../../lib/encode.c:1384 #1 0x7f0af5e2eb97 in theora_encode_init ../../lib/encapiwrapper.c:72 #2 0x55fd4beb18b7 in granulepos_test_encode ../../tests/granulepos_theora.c:71 #3 0x55fd4beb126d in main ../../tests/granulepos_theora.c:137 #4 0x7f0af51d3249 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #5 0x7f0af51d3304 in __libc_start_main_impl ../csu/libc-start.c:360 #6 0x55fd4beb1300 in _start (/home/user/libtheora/build/tests/.libs/granulepos_theoraenc+0x2300) Fixes #2323
-
Petter Reinholdtsen authored
The last iteration of the loop execute 1<<63, which would push the result into the signed bit of a signed 64 bit type, and this move into currently undefined behaviour with C99. Avoid the issue by making the operation work on unsigned 64 bit type instead. This require libogg version to 1.3.4, raise autotools dependency check to look for this. Partly solves github issue #18.
-
Petter Reinholdtsen authored
Use multiplication instead, allowing the compiler to optimize to bitshifts if it believe it to be safe. Fixes a few issues discovered by --enable-gcc-sanitize-address in !31.
-
Petter Reinholdtsen authored
Use multiplication instead, allowing the compiler to optimize to bitshifts if it believe it to be safe. Partly solves github issue #18.
-
Petter Reinholdtsen authored
It is undefined what left-shifting a negative number should do, and the compiler do not like trying to shift the -64 value 57 bits to the left. Changed the definition of OC_Q57() to left shift one bit and use multiplication, to change the operatoin to a well defined one. Patch from Timothy B_ Terriberry. This get rid of this clang message: > ../../lib/rate.c:746:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] > log_scale=OC_Q57(-64); > ^~~~~~~~~~~ > ../../lib/mathops.h:134:38: note: expanded from macro 'OC_Q57' > #define OC_Q57(_v) ((ogg_int64_t)(_v)<<57) > ~~~~~~~~~~~~~~~~~^ MR !23 fixes #2321
-
Petter Reinholdtsen authored
This will make it easier for prospective users and developers to locate the mailman lists.
-
Petter Reinholdtsen authored
-
- Mar 08, 2025
-
-
Petter Reinholdtsen authored
Instead of shifting the negative number, shift one bit and multiply it with the negative number. Fixes the following clang message: ../../lib/decode.c:195:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0,10, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:198:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, 0,1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:208:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 1, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:210:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 2, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:212:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 3, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:214:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 4, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:216:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 5, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:220:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 1, -2,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:221:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 1, -3,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:227:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 6, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:228:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 7, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:229:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 8, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:230:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 9, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:236:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 2, -2,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:237:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 3, -2,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:238:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 2, -3,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:239:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 3, -3,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:242:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, 0,1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:253:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -1,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:257:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -2,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:260:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -3,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:262:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -4,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:264:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -5,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:266:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -6,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:270:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -7,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:271:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -8,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:277:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0, -9,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:278:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0,-10,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:279:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0,-11,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ ../../lib/decode.c:280:3: warning: shifting a negative signed value is undefined [-Wshift-negative-value] OC_DCT_CW_PACK( 0, 0,-12,0), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/decode.c:150:16: note: expanded from macro 'OC_DCT_CW_PACK' (_mag)-(_flip)<<OC_DCT_CW_MAG_SHIFT) ~~~~~~~~~~~~~~^ Fixes #2322
-
Petter Reinholdtsen authored
Switching type of cd from unsigned to int make sure the difference passed to abs() wil be a signed value. As dc is calculated to at most ((8 * 8 * (2^8-1)) + 32) / 64, ie 255 and the highest value it can hold before it is shifted 6 bit positions to the right is (8 * 8 * (2^8-1)) + 32) ie. 16352, it should fit nicely in an integer on any platform where int is at least 16 bit. Fixes this clang message: ../../../lib/encfrag.c:104:26: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] for(j=0;j<8;j++)sad+=abs(_src[j]-dc); ^ ../../../lib/encfrag.c:104:26: note: remove the call to 'abs' since unsigned values cannot be negative for(j=0;j<8;j++)sad+=abs(_src[j]-dc); ^~~
-
Petter Reinholdtsen authored
This get rid of the following clang warning: huffdec.c:439:7: warning: variable 'total' set but not used [-Wunused-but-set-variable] int total; ^
-
Petter Reinholdtsen authored
The OC_IDCT_CONSTS array in x86/sse2idct.c is 64 elements long, so not use trying to pretend it is 128 elements long. This avoid the following copmiler message: In function 'oc_idct8x8_slow_mmx', inlined from 'oc_idct8x8_mmx' at ../../lib/x86/mmxidct.c:555:8: ../../lib/x86/mmxidct.c:290:3: warning: array subscript 'const struct <anonymous>[0]' is partly outside array bounds of 'const short unsigned int[64]' [-Warray-bounds] 290 | __asm__ __volatile__( | ^~~~~~~ In file included from ../../lib/x86/mmxidct.c:20: ../../lib/x86/x86int.h: In function 'oc_idct8x8_mmx': ../../lib/x86/x86int.h:95:58: note: object 'OC_IDCT_CONSTS' of size 128 95 | extern const unsigned short __attribute__((aligned(16))) OC_IDCT_CONSTS[64]; | ^~~~~~~~~~~~~~ In function 'oc_idct8x8_10_mmx', inlined from 'oc_idct8x8_mmx' at ../../lib/x86/mmxidct.c:554:20: ../../lib/x86/mmxidct.c:492:3: warning: array subscript 'const struct <anonymous>[0]' is partly outside array bounds of 'const short unsigned int[64]' [-Warray-bounds] 492 | __asm__ __volatile__( | ^~~~~~~ ../../lib/x86/x86int.h: In function 'oc_idct8x8_mmx': ../../lib/x86/x86int.h:95:58: note: object 'OC_IDCT_CONSTS' of size 128 95 | extern const unsigned short __attribute__((aligned(16))) OC_IDCT_CONSTS[64]; | ^~~~~~~~~~~~~~ CC x86/sse2idct.lo In function 'oc_idct8x8_slow_sse2', inlined from 'oc_idct8x8_sse2' at ../../lib/x86/sse2idct.c:453:8: ../../lib/x86/sse2idct.c:213:3: warning: array subscript 'const struct <anonymous>[0]' is partly outside array bounds of 'const short unsigned int[64]' [-Warray-bounds] 213 | __asm__ __volatile__( | ^~~~~~~ ../../lib/x86/sse2idct.c: In function 'oc_idct8x8_sse2': ../../lib/x86/sse2idct.c:26:56: note: object 'OC_IDCT_CONSTS' of size 128 26 | const unsigned short __attribute__((aligned(16),used)) OC_IDCT_CONSTS[64]={ | ^~~~~~~~~~~~~~ In function 'oc_idct8x8_10_sse2', inlined from 'oc_idct8x8_sse2' at ../../lib/x86/sse2idct.c:452:20: ../../lib/x86/sse2idct.c:398:3: warning: array subscript 'const struct <anonymous>[0]' is partly outside array bounds of 'const short unsigned int[64]' [-Warray-bounds] 398 | __asm__ __volatile__( | ^~~~~~~ ../../lib/x86/sse2idct.c: In function 'oc_idct8x8_sse2': ../../lib/x86/sse2idct.c:26:56: note: object 'OC_IDCT_CONSTS' of size 128 26 | const unsigned short __attribute__((aligned(16),used)) OC_IDCT_CONSTS[64]={ | ^~~~~~~~~~~~~~
-