XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Xiph.Org activity

Kieran Kunhya opened merge request !69: x86: add x86inc.asm and dav1d's CPU feature detection at Xiph.Org / SpeexDSP

x86inc.asm is the upstream copy from code.videolan.org/videolan/x86inc.asm (a9d4637b). cpuid.asm and cpu.c come from dav1d's src/x86, with the flags reduced to the levels the speexdsp kernels use: SSE2, AVX2 (which also requires FMA3 here) and AVX-512 F/CD/BW/DQ/VL, so Skylake-X/Cascade Lake qualify as well as Ice Lake and Zen 4. cpu_support.h maps them to SPX_ARCH_SSE2/AVX2/AVX512 under USE_X86ASM, so a state picks its level at init like the RVV kernels do. Co-Authored-By: Claude Opus 5.5…

sevaksargsyan opened issue #2404: parse_weights() return value unchecked in 3 of 9 model-loading call sites — potential NULL-list dereference on malformed we...

parse_weights() (dnn/parse_lpcnet_weights.c:56) returns -1 and sets *list = NULL when it encounters malformed/truncated weight data. Every one of its 9 real call sites in the library passes the resulting list straight into an init_* function, but only 6 of them check the return value first: Correctly checked (6): if (parse_weights(&list, data, len) < 0) return ...; // fargan.c:198, lossgen.c:168, // osce.c:1436, dred_encoder.c:59, // pitchdnn.c:74, lpcnet_plc.c:78 Not checked (3): //…

Timothy B. Terriberry commented on merge request !51 at Xiph.Org / Vorbis

A setup header using such a book as a residue stage book made vorbis_book_decodevs_add() (residue type 0) compute n/book->dim, a division by zero that crashes the decoder. Do you have an example of a file with such a setup header? As I understand it, a codebook with dim == 0 must have quantvals == 0 in vorbis_decbook_unpack(), and thus there are no vector values associated with any codeword. I do not see corresponding special cases in vorbis_book_init_decode(), nor do I see anything that forces…

Christoph Grüninger opened merge request !51: Reject residue stage books with dimension 0 at Xiph.Org / Vorbis

I asked Claude code to find memory leaks. I checked the finding and think the fix is the right one. fixes #2363 vorbis_decbook_unpack() accepts a codebook with dim 0 and a value mapping (maptype 1 or 2), and res0_unpack() only checked the dimension of the phrasebook, not of the stage books. A setup header using such a book as a residue stage book made vorbis_book_decodevs_add() (residue type 0) compute n/book->dim, a division by zero that crashes the decoder. Reject stage books with dim < 1…

Ryan Drake commented on issue #2337 at Xiph.Org / Icecast-libshout

Also found a bug where metadata updates were not going through if the server uses HTTP Basic authentication. The failure was observed with an Icecast 2.5.0 server on its TLS port. The source connected successfully and continuously streamed MP3 audio, but shout_set_metadata() returned SHOUTERR_SOCKET while attempting to update mp3 title metadata. The metadata request sequence is: libshout sends an unauthenticated GET /admin/metadata request. The server returns HTTP 401, which is the expected…

Mark Harris commented on merge request !201 at Xiph.Org / Opus

Perhaps I'm missing something, but it appears that this will still cause the attenuation to increase faster for pitch periods at the end of the frame compared to pitch periods at the beginning of the frame. For example, suppose decay is 0.7 and there are 3 pitch periods in each frame, so fade is 1.0 for the first frame and 0.8 for subsequent frames. frame period preatten attenuation postatten 1 1 1 1.0*0.7 (0.7) 0.7 1 2 1 1.0*0.7^2 (0.49) 0.49 1 3 1 1.0*0.7^3 (0.343) 0.343 2 1 0.7 0.8*0.7…