Projects
SLE15
faad2
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
_service
Changed
@@ -1,7 +1,7 @@ <services> <service name="obs_scm"> <param name="filename">faad2</param> - <param name="revision">673a22a3c7c33e96e2ff7aae7c4d2bc190dfbf92</param> + <param name="revision">f2f4e8e8093df276fb1f6f96eb69efd37aba3da3</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://github.com/knik0/faad2.git</param>
View file
_service:obs_scm:faad2-2.11.2.obscpio/.github/workflows/build.yaml
Changed
@@ -36,22 +36,6 @@ cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: - BuildWithBazel: - runs-on: ubuntu-latest - - strategy: - fail-fast: false - - steps: - - name: Checkout the source - uses: actions/checkout@v4 - with: - submodules: false - fetch-depth: 1 - - name: Configure and build - run: | - bazel build :all - BuildWithCMake: runs-on: ${{ matrix.os || 'ubuntu-latest' }} @@ -112,10 +96,7 @@ fail-fast: false matrix: include: - - msystem: mingw64 - - msystem: clang64 - msystem: ucrt64 - - msystem: mingw32 defaults: run: shell: msys2 {0}
View file
_service:obs_scm:faad2-2.11.2.obscpio/.github/workflows/fuzz.yaml
Deleted
@@ -1,65 +0,0 @@ -# FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding -# Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# Any non-GPL usage of this software or parts of this software is strictly -# forbidden. -# -# The "appropriate copyright message" mentioned in section 2c of the GPLv2 -# must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com" -# -# Commercial non-GPL licensing of this software is possible. -# For more info contact Nero AG through Mpeg4AAClicense@nero.com. - -name: OSS-Fuzz -on: - push: - branches: master - pull_request: - types: opened, reopened, labeled, synchronize - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} - cancel-in-progress: ${{ github.event_name == 'pull_request' }} - -jobs: - Fuzzing: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - sanitizer: address, undefined, memory - steps: - - name: Build Fuzzers (${{ matrix.sanitizer }}) - id: build - uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master - with: - oss-fuzz-project-name: 'faad2' - language: c - sanitizer: ${{ matrix.sanitizer }} - - name: Run Fuzzers (${{ matrix.sanitizer }}) - uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master - with: - oss-fuzz-project-name: 'faad' - language: c - sanitizer: ${{ matrix.sanitizer }} - fuzz-seconds: 600 - - name: Upload Crash - uses: actions/upload-artifact@v3 - if: failure() && steps.build.outcome == 'success' - with: - name: ${{ matrix.sanitizer }}-artifacts - path: ./out/artifacts
View file
_service:obs_scm:faad2-2.11.2.obscpio/frontend/mp4read.c
Changed
@@ -347,6 +347,9 @@ mp4config.frame.nsclices = u32in(); + if (!mp4config.frame.nsclices) + return ERR_FAIL; + tmp = sizeof(slice_info_t) * mp4config.frame.nsclices; if (tmp < mp4config.frame.nsclices) return ERR_FAIL;
View file
_service:obs_scm:faad2-2.11.2.obscpio/libfaad/drm_dec.c
Changed
@@ -44,7 +44,7 @@ #define DECAY_CUTOFF 3 #define DECAY_SLOPE 0.05f -/* type definitaions */ +/* type definitions */ typedef const int8_t (*drm_ps_huff_tab)2;
View file
_service:obs_scm:faad2-2.11.2.obscpio/libfaad/fixed.h
Changed
@@ -159,20 +159,21 @@ #elif defined(__GNUC__) && defined (__arm__) /* taken from MAD */ -#define arm_mul(x, y, SCALEBITS) \ -({ \ - uint32_t __hi; \ - uint32_t __lo; \ - uint32_t __result; \ - asm("smull %0, %1, %3, %4\n\t" \ - "movs %0, %0, lsr %5\n\t" \ - "adc %2, %0, %1, lsl %6" \ - : "=&r" (__lo), "=&r" (__hi), "=r" (__result) \ - : "%r" (x), "r" (y), \ - "M" (SCALEBITS), "M" (32 - (SCALEBITS)) \ - : "cc"); \ - __result; \ -}) +static INLINE real_t arm_mul(real_t x, real_t y, unsigned int SCALEBITS) +{ + uint32_t __hi; + uint32_t __lo; + uint32_t __result; + + asm("smull %0, %1, %3, %4\n\t" + "movs %0, %0, lsr %5\n\t" + "adc %2, %0, %1, lsl %6" + : "=&r" (__lo), "=&r" (__hi), "=r" (__result) + : "%r" (x), "r" (y), + "M" (SCALEBITS), "M" (32 - (SCALEBITS)) + : "cc"); + return __result; \ +} static INLINE real_t MUL_R(real_t A, real_t B) {
View file
_service:obs_scm:faad2-2.11.2.obscpio/libfaad/specrec.c
Changed
@@ -847,27 +847,35 @@ } #endif } - if (hDecoder->time_outchannel == NULL) + if (hDecoder->time_outchannel != NULL) { - hDecoder->time_outchannel = (real_t*)faad_malloc(mul*hDecoder->frameLength*sizeof(real_t)); - memset(hDecoder->time_outchannel, 0, mul*hDecoder->frameLength*sizeof(real_t)); + faad_free(hDecoder->time_outchannel); + hDecoder->time_outchannel = NULL; } - if (hDecoder->time_outpaired_channel == NULL) + if (hDecoder->time_outpaired_channel != NULL) { - hDecoder->time_outpaired_channel = (real_t*)faad_malloc(mul*hDecoder->frameLength*sizeof(real_t)); - memset(hDecoder->time_outpaired_channel, 0, mul*hDecoder->frameLength*sizeof(real_t)); + faad_free(hDecoder->time_outpaired_channel); + hDecoder->time_outpaired_channel = NULL; } + hDecoder->time_outchannel = (real_t*)faad_malloc(mul*hDecoder->frameLength*sizeof(real_t)); + memset(hDecoder->time_outchannel, 0, mul*hDecoder->frameLength*sizeof(real_t)); + hDecoder->time_outpaired_channel = (real_t*)faad_malloc(mul*hDecoder->frameLength*sizeof(real_t)); + memset(hDecoder->time_outpaired_channel, 0, mul*hDecoder->frameLength*sizeof(real_t)); - if (hDecoder->fb_intermedchannel == NULL) + if (hDecoder->fb_intermedchannel != NULL) { - hDecoder->fb_intermedchannel = (real_t*)faad_malloc(hDecoder->frameLength*sizeof(real_t)); - memset(hDecoder->fb_intermedchannel, 0, hDecoder->frameLength*sizeof(real_t)); + faad_free(hDecoder->fb_intermedchannel); + hDecoder->fb_intermedchannel = NULL; } - if (hDecoder->fb_intermedpaired_channel == NULL) + if (hDecoder->fb_intermedpaired_channel != NULL) { - hDecoder->fb_intermedpaired_channel = (real_t*)faad_malloc(hDecoder->frameLength*sizeof(real_t)); - memset(hDecoder->fb_intermedpaired_channel, 0, hDecoder->frameLength*sizeof(real_t)); + faad_free(hDecoder->fb_intermedpaired_channel); + hDecoder->fb_intermedpaired_channel = NULL; } + hDecoder->fb_intermedchannel = (real_t*)faad_malloc(hDecoder->frameLength*sizeof(real_t)); + memset(hDecoder->fb_intermedchannel, 0, hDecoder->frameLength*sizeof(real_t)); + hDecoder->fb_intermedpaired_channel = (real_t*)faad_malloc(hDecoder->frameLength*sizeof(real_t)); + memset(hDecoder->fb_intermedpaired_channel, 0, hDecoder->frameLength*sizeof(real_t)); #ifdef SSR_DEC if (hDecoder->object_type == SSR)
View file
_service:obs_scm:faad2.obsinfo
Changed
@@ -1,4 +1,4 @@ name: faad2 version: 2.11.2 -mtime: 1741077662 -commit: 673a22a3c7c33e96e2ff7aae7c4d2bc190dfbf92 +mtime: 1774434870 +commit: f2f4e8e8093df276fb1f6f96eb69efd37aba3da3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.