Compare commits

...

2 Commits

Author SHA1 Message Date
Timo Rothenpieler d479a4926a forgejo/workflows: make one of the builds shared 2025-11-03 19:03:16 +00:00
James Almer 4bdc932ec9 avcodec/pthread_frame: sync alpha_mode across worker threads and the user context
Signed-off-by: James Almer <jamrial@gmail.com>
2025-11-03 00:16:03 -03:00
2 changed files with 10 additions and 2 deletions

View File

@ -9,11 +9,16 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
runner: [linux-amd64,linux-aarch64] runner: [linux-aarch64]
shared: ['false']
bits: ['64'] bits: ['64']
include: include:
- runner: linux-amd64 - runner: linux-amd64
shared: 'false'
bits: '32' bits: '32'
- runner: linux-amd64
shared: 'true'
bits: '64'
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
steps: steps:
- name: Checkout - name: Checkout
@ -22,6 +27,7 @@ jobs:
run: | run: |
./configure --enable-gpl --enable-nonfree --enable-memory-poisoning --assert-level=2 \ ./configure --enable-gpl --enable-nonfree --enable-memory-poisoning --assert-level=2 \
$([ "${{ matrix.bits }}" != "32" ] || echo --arch=x86_32 --extra-cflags=-m32 --extra-cxxflags=-m32 --extra-ldflags=-m32) \ $([ "${{ matrix.bits }}" != "32" ] || echo --arch=x86_32 --extra-cflags=-m32 --extra-cxxflags=-m32 --extra-ldflags=-m32) \
$([ "${{ matrix.shared }}" != "true" ] || echo --enable-shared --disable-static) \
|| CFGRES=$? && CFGRES=$? || CFGRES=$? && CFGRES=$?
cat ffbuild/config.log cat ffbuild/config.log
exit $CFGRES exit $CFGRES
@ -47,7 +53,7 @@ jobs:
path: fate-suite path: fate-suite
key: fate-suite-${{ steps.fate.outputs.hash }} key: fate-suite-${{ steps.fate.outputs.hash }}
- name: Run Fate - name: Run Fate
run: make fate fate-build SAMPLES=$PWD/fate-suite -j$(nproc) run: LD_LIBRARY_PATH="$(printf "%s:" "$PWD"/lib*)$PWD" make fate fate-build SAMPLES=$PWD/fate-suite -j$(nproc)
compile_only: compile_only:
strategy: strategy:
fail-fast: false fail-fast: false

View File

@ -376,6 +376,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
dst->bits_per_raw_sample = src->bits_per_raw_sample; dst->bits_per_raw_sample = src->bits_per_raw_sample;
dst->color_primaries = src->color_primaries; dst->color_primaries = src->color_primaries;
dst->alpha_mode = src->alpha_mode;
dst->color_trc = src->color_trc; dst->color_trc = src->color_trc;
dst->colorspace = src->colorspace; dst->colorspace = src->colorspace;
dst->color_range = src->color_range; dst->color_range = src->color_range;