From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- media/libtremor/bug1117571-r19420.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 media/libtremor/bug1117571-r19420.patch (limited to 'media/libtremor/bug1117571-r19420.patch') diff --git a/media/libtremor/bug1117571-r19420.patch b/media/libtremor/bug1117571-r19420.patch new file mode 100644 index 0000000000..02de5e68ff --- /dev/null +++ b/media/libtremor/bug1117571-r19420.patch @@ -0,0 +1,18 @@ +diff -r 55f3224d7513 media/libtremor/lib/tremor_synthesis.c +--- a/media/libtremor/lib/tremor_synthesis.c Sat Jan 03 20:02:33 2015 -0800 ++++ b/media/libtremor/lib/tremor_synthesis.c Sun Jan 04 11:17:29 2015 -0800 +@@ -119,13 +119,13 @@ long vorbis_packet_blocksize(vorbis_info + while(v>1){ + modebits++; + v>>=1; + } + + /* read our mode and pre/post windowsize */ + mode=oggpack_read(&opb,modebits); + } +- if(mode==-1)return(OV_EBADPACKET); ++ if(mode==-1 || !ci->mode_param[mode])return(OV_EBADPACKET); + return(ci->blocksizes[ci->mode_param[mode]->blockflag]); + } + + -- cgit v1.2.3