    On branch release/7.1
    Your branch is up to date with 'gkv311/release/7.1'.

    Changes not staged for commit:
      (use "git add ..." to update what will be committed)
      (use "git restore ..." to discard changes in working directory)
    	modified:   configure

    no changes added to commit (use "git add" and/or "git commit -a")
    commit eb93435dd81530553016fefb2ef7766c8e04cb35
    Author: Kirill Gavrilov
    Date:   Fri Jan 24 20:28:11 2025 +0300

        libavcodec/hdrdec: accept "#?RGBE" header in addition to "#?RADIANCE"

        Some Radiance HDR image files in the wild have "#?RGBE" header,
        which other image readers accept.

    commit f1576dc4923adfbafbecd3c1c2f2fc3259a0e522
    Author: Kirill Gavrilov
    Date:   Mon Sep 30 21:36:15 2024 +0300

        Compatibility with old GCC (from Android NDK) without static_assert

    commit a3eddbe2079d8f6276c78ae0d9a5ea2b2a6b1b90
    Author: Kirill Gavrilov
    Date:   Fri Jul 19 12:05:59 2024 +0300

        avcodec/mediacodec_wrapper - workaround building using Android NDK r12b

    commit 7119a8b188230f5b5edcc4297ae0841a4e480b09
    Author: Kirill Gavrilov
    Date:   Sat Jan 26 16:39:29 2019 +0300

        Workaround missing  within VS2010

    commit 198ee1a105529fd390264bd15b1c6c61b0a98d31
    Author: Kirill Gavrilov
    Date:   Wed Jan 23 23:11:54 2019 +0300

        Workaround building on old Android NDK (before r17)

        @sa https://gitlab.gnome.org/GNOME/glib/commit/7efd76dd6796f886134436e04fb149132b18b989

    commit 145a3a84550a1c3a3b848c12a64b53c3c41d2888
    Author: James Almer
    Date:   Mon Dec 30 00:25:41 2024 -0300

        avfilter/buffersrc: check for valid sample rate

        A sample rate <= 0 is invalid.

        Fixes an assert in ffmpeg_enc.c that assumed a valid sample rate would be set.
        Fixes ticket #11385.

        Signed-off-by: James Almer
        (cherry picked from commit 1446e37d3d032e1452844778b3e6ba2c20f0c322)

    commit be26ee23abb4f0fd4784eb556db9329e067e96b6
    Author: James Almer
    Date:   Fri Dec 27 19:11:47 2024 -0300

        avcodec/libdav1d: clear the buffered Dav1dData on decoding failure

        Should ensure avcodec_send_packet() doesn't return EAGAIN in scenarios where it's not
        meant to (e.g., ffmpeg_dec.c where avcodec_receive_frame() is called in a loop to drain
        all produced frames before trying to submit more packets).

        Fixes ticket #11377.

        Reviewed-by: Ronald S. Bultje
        Signed-off-by: James Almer
        (cherry picked from commit d1d9b0813a2a7e304cc29dba3b1380857d0f9816)

    commit 4f5769e0526252fb80c3c5a1d46d0ea414643fd6
    Author: James Almer
    Date:   Fri Dec 27 16:17:51 2024 -0300

        avformat/iamf_writer: ensure the stream groups are not empty

        Signed-off-by: James Almer
        (cherry picked from commit cedd9151f863e3db9c325aff2f9375c39adbbec2)

    commit b168ed9b146337e7bd3c218c5d1c0f7e88bf1315
    Author: James Almer
    Date:   Wed Dec 11 13:30:23 2024 -0300

        avformat/iamf_writer: fix setting num_samples_per_frame for OPUS

        As per section 3.11.1 of the IAMF spec, the sample rate used in Codec Config
        for Opus shall be 48kHz, regardless of the original sample rate used during
        encoding.

        Signed-off-by: James Almer
        (cherry picked from commit 76049d1c4564a6a03c467b1f9b0bc853bc971769)

    commit 871c69a28bf4f34d7d4fe8c0c4a91c7ecffccc96
    Author: James Almer
    Date:   Wed Dec 11 23:34:32 2024 -0300

        avformat/iamf_parse: fix setting duration for the last subblock in a parameter definition

        When subblock durations are constant, the last block may be smaller and the
        value needs to be calculated.

        Signed-off-by: James Almer
        (cherry picked from commit fb5e8ea9719c8afcd0d9e3a51e370c06c361d9ba)

    commit 888a6b54bcc8ab395ebc214d764ceefaa1232d87
    Author: James Almer
    Date:   Wed Dec 11 23:27:00 2024 -0300

        avformat/iamf_parse: add checks to parameter definition durations

        Section 3.6.1 of the IAMF spec states "When constant_subblock_duration is equal to 0, the summation of all
        subblock_duration in this parameter block SHALL be equal to duration.".

        Signed-off-by: James Almer
        (cherry picked from commit d38fc25519cf12a9212dadcba1258fc176ffbade)

    commit 88126fc4ecff16c8337bab0ff33bee858a18d555
    Author: Michael Niedermayer
    Date:   Fri Nov 29 02:28:18 2024 +0100

        avformat/iamf_parse: reject ambisonics mode > 1

        ambisonics mode > 1 does not initialize any layer but layer 0
        is unconditionally dereferenced

        Fixes: poc-2024-11
        Fixes: null pointer dereference
        Found-by: 苏童 <220235212@seu.edu.cn>
        Signed-off-by: Michael Niedermayer
        (cherry picked from commit 4cc1495aca45445181a107a682c32cfe31459929)

    commit 10aaf84f855dbcedb8ee2e3fce307e9b98320946
    Author: Martin Storsjö
    Date:   Wed Oct 23 14:44:11 2024 +0300

        checkasm: Print benchmarks of C-only functions

        This corresponds to commit 9278a14cf406f8edb5052c42b83750112bf5b515
        in dav1d.

        Omitting the C-only functions doesn't speed up benchmarking
        anyway (as those has to be benchmarked before we know if we have
        any corresponding assembly functions), and being able to benchmark
        those functions without corresponding assembly can be valuable in
        a number of cases.

        Signed-off-by: Martin Storsjö
        (cherry picked from commit 4b524649ff96b25edd275ce1662f5839102aa0af)

    commit 364f6a5f118d35058a49eee3624c5d82435be443
    Author: James Almer
    Date:   Sun Nov 24 14:24:47 2024 -0300

        avcodec/ac3dec: fix downmix logic for eac3

        Ensure downmixed is only set once during init, as it used to be.

        Fixes a regression since acbb2777e28c.
        Fixes ticket #11321

        Signed-off-by: James Almer
        (cherry picked from commit 0e07a70611dc109f4e84895ffc79827a91edc045)

    commit f265f9c9d04863180503707bfad285f48e6bf080
    Author: James Almer
    Date:   Sat Nov 16 20:32:02 2024 -0300

        avcodec/codec_desc: remove Intra Only prop for AAC

        xHE-AAC is a profile where some frames depend on other key frames, named IPF.
        By setting the codec as Intra Only, all frames output by decoders and all
        packets output by encoders/demuxers will be unconditionally flaged as
        keyframes, which is incorrect.

        Should fix ticket #11272.

        Signed-off-by: James Almer
        (cherry picked from commit 40bd6d835575bb8176774be5824ef07b71623d1e)

    commit 4b801baa46731f0377cbabaf485fe5715a334d93
    Author: James Almer
    Date:   Sun Nov 24 20:25:09 2024 -0300

        avcodec/mediacodecdec: set set keyframe flag in output frames

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit 8d2d2519e04418d8565e0d6ece662c01121a35e1)

    commit 26bc7827e4bed355cd197938a9ddbe107f11e8c6
    Author: James Almer
    Date:   Sun Nov 17 16:03:18 2024 -0300

        avcodec/libfdk-aacenc: set keyframe in output packets

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit 99f87251e0cc6bf8f2a7c21e1e72e6144e5a6701)

    commit c13a0a2f59bd169b57ff0285e85acf4c00ab2896
    Author: James Almer
    Date:   Sun Nov 17 15:53:03 2024 -0300

        avcodec/libfdk-aacdec: set keyframe flag and profile in output frames

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit 281b7fc02e3158ee62c3c1d41267ddebb86578f0)

    commit f7d59ab17a751105c399cc64beb66d5c7686dcab
    Author: James Almer
    Date:   Sun Nov 24 20:24:40 2024 -0300

        avcodec/audiotoolboxnec: set set keyframe flag in output packets

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit 495c891e3998bdee7e7680390d9aea2efb5c9a5d)

    commit 07a92c1a640de41422fd2581e996c26976b03a6a
    Author: James Almer
    Date:   Sun Nov 24 20:24:27 2024 -0300

        avcodec/audiotoolboxdec: set set keyframe flag in output frames

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit d3dd14bf5b4a7e5ead890b83fc905add9b261cf7)

    commit 302f1b3882536dcbd1185778a474bc5900a57153
    Author: James Almer
    Date:   Sat Nov 16 20:29:38 2024 -0300

        avcodec/aacenc: set keyframe flag in output packets

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit ffdace5ad4736ea720f306392ce6bdcb2aea823a)

    commit 1b5bdce86a762815d2582c59c30e8f5c8f9140d3
    Author: James Almer
    Date:   Sat Nov 16 20:28:38 2024 -0300

        avcodec/aac/aacdec: set keyframe flag in output frames

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit faea08b722de716391c3f84a265060c643ad6c22)

    commit 075c6d325ac1e6b95840a72f133bac4aa8140215
    Author: James Almer
    Date:   Sat Nov 16 17:56:14 2024 -0300

        avcodec/aac_parser: set key_frame and profile

        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit 64bb91fd3b5a00a8849531c7e8dd207f2a626096)

    commit dc9d9b8636f1e71fb839aa25955122b608f6d98f
    Author: James Almer
    Date:   Sat Nov 16 17:54:34 2024 -0300

        avformat/mov: don't unconditionally set all audio packets in fragments as key frames

        Some audio codecs, like TrueHD, have non key frames.

        Signed-off-by: James Almer
        (cherry picked from commit 8ddbc26dedcf83962dd3aed90a6bb0a95847d386)

    commit f1592a7ff1d38e75bd97bc6c49961e6628924e07
    Author: James Almer
    Date:   Sat Nov 16 17:49:17 2024 -0300

        avformat/matroskadec: set all frames in a keyframe simple box as keyframes

        And not just the first, as it was being done for lacing. The spec states that the
        flag applies to everything inside the simple box.

        Signed-off-by: James Almer
        (cherry picked from commit f656c00bd953b1dd84c58dfef5dd645db818ba3d)

    commit 13282e61b808121222b043c8b965a48ef801267b
    Author: James Almer
    Date:   Sat Nov 16 17:47:43 2024 -0300

        avformat/test/movenc: set audio packets as key frames

        Don't depend on the generic code setting this.
        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit f938b2b3f51f959de84bc22c75529b77626b2596)

    commit 33588a37497bb26598234fc745eda52089c26761
    Author: James Almer
    Date:   Sat Nov 16 17:46:17 2024 -0300

        avformat/movenc: write stss boxes for xHE-AAC

        This is in preparation for a following change.

        Signed-off-by: James Almer
        (cherry picked from commit 23a1c021f299655d66bcfbd69ed0d6780f68c6fc)

    commit e07d7c75dbfd1ef5c9233fea63bb29ddf567283f
    Author: James Almer
    Date:   Sat Nov 16 17:44:46 2024 -0300

        avformat/spdifdec: parse headers for audio codecs

        Signed-off-by: James Almer
        (cherry picked from commit 4e6d31755bf8d0355418d19725ee947e6c0536c0)

    commit 8fa5fa1463025ca38fab3099fe5adb337727bdaa
    Author: James Almer
    Date:   Fri Nov 15 20:14:37 2024 -0300

        avformat/movenc: don't disable edit lists when writing CMAF output

        They are needed for audio tracks with priming samples, where negative CTS
        offsets can't be used.

        Fixes ticket #11031.

        Signed-off-by: James Almer
        (cherry picked from commit ecc7d5db9c8a1aaccc876dc4b549558eadfe140a)

    commit cb997ccd09737b31220c7c2bc04934ceda9702e7
    Author: James Almer
    Date:   Sun Nov 17 23:01:38 2024 -0300

        avcodec/libfdk-aacenc: export CPB properties

        Needed to signal the muxer that the stream is VBR.

        Finishes fixing ticket #11303.

        Signed-off-by: James Almer
        (cherry picked from commit 46c6ca3ed1651c67faf899776f1922c108093a44)

    commit 3513ccccb650a920ea7da964f0415476c6525fb0
    Author: James Almer
    Date:   Sun Nov 17 23:01:37 2024 -0300

        avformat/movenc: don't write a calculated avgBitrate when the provided one is unset

        avgBitrate == 0 is used to signal a VBR track, so if that value is propagated by an
        encoder, don't overwrite it with a calculated value based on track size.

        Part of a fix for ticket #11303.

        Signed-off-by: James Almer
        (cherry picked from commit 944212acad7c2254d9dc14764b29e0023aaa645a)

    commit 64e2864cb983d30162dc9003b5aae81e89c929cd
    Author: Brad Smith
    Date:   Sun Nov 17 21:02:39 2024 -0500

        libavutil/riscv: Make use of elf_aux_info() on FreeBSD / OpenBSD riscv

        libavutil/riscv: Make use of elf_aux_info() on FreeBSD / OpenBSD riscv

        FreeBSD/OpenBSD riscv have elf_aux_info().

        Signed-off-by: Brad Smith
        Signed-off-by: Rémi Denis-Courmont
        (cherry picked from commit f3eca3f387092c596f035a126fba15a30c3a9499)
        Signed-off-by: Brad Smith

    commit 0c641ee6610ed3bc8a06040c32ea280649d427b0
    Author: Sean McGovern
    Date:   Sun Nov 3 21:58:43 2024 -0500

        libavutil/ppc: defines involving bit shifts should be unsigned

        Otherwise, these can overflow at the boundaries of the integer type.

        Signed-off-by: Brad Smith
        (cherry picked from commit c325f9c619b38614ab6e339cefacd596266db471)
        Signed-off-by: Brad Smith

    commit ac4c725944d9923c3b696e6809c9da1d9d5df9fe
    Author: Brad Smith
    Date:   Mon Oct 21 11:57:44 2024 -0400

        libavutil/ppc: Include the hardware feature flags like the other archs

        Also include the hardware feature flags like the other archs do and
        clean up the code a bit.

        Tested on Linux POWER9.

        Signed-off-by: Brad Smith
        (cherry picked from commit d6b2d08fc7283da7a5db7a64d9a3047ed1ba0de1)
        Signed-off-by: Brad Smith

    commit 20c8a3f5ff83e06fa6fc66dc18cedbc8f43d938b
    Author: Rémi Denis-Courmont
    Date:   Sun Nov 17 11:15:01 2024 +0200

        lavu/riscv: fix compilation without Vector support

        The half-baked assembler in Clang 16 and earlier can't process our
        RISC-V assembler. This adds yet another work around that.

        If you must use Clang, please use version 17 or later.

        (cherry picked from commit e29432e6bbb6184d3ff2c7d1e070e9424cb25fe6)

    commit b016aae6627128b1657762c8aa4377e4144046fc
    Author: Marton Balint
    Date:   Mon Nov 4 00:43:06 2024 +0100

        avfilter/f_loop: fix aloop activate logic

        The logic did not follow the documented behaviour and that caused skipping of
        some audio in the loop and in the leftover buffer.

        Example command line which should produce a smooth sine wave for the whole
        duration of the output:

        ffmpeg -f lavfi -i "sine=r=48000:f=480:d=4" -af "aloop=loop=4:start=48000:size=48000" out.wav

        Fixes ticket #11283.

        Signed-off-by: Marton Balint
        (cherry picked from commit fe18ed3f2a9221af0beaec7b04b7804849db1f2f)

    commit 0a58588ffb875066fc8d75ad9b5c93f3dd9e8c28
    Author: Marton Balint
    Date:   Sun Nov 3 22:32:51 2024 +0100

        avfilter/f_loop: fix length of aloop leftover buffer

        If the audio loop stops inside an audio frame, the leftover buffer contains the
        end of the frame, which is not looped. The length supposed to be the part which
        was not written to the loop buffer, so we need to drain exactly that number of
        bytes from the leftover buffer.

        Signed-off-by: Marton Balint
        (cherry picked from commit b33a59416072ad31a5840f33f9975d88acf45add)

    commit 99f6adce60727d8e4244d4871baf3907ac545111
    Author: James Almer
    Date:   Sat Nov 9 16:55:38 2024 -0300

        avfilter/vf_zscale: align the frame buffers

        Signed-off-by: James Almer
        (cherry picked from commit c8e5c684b3db1a3131af5d05a3073114bd87477a)

    commit 5b461ffb041e0e24fdf14e36dfc857ae44bed249
    Author: Pavel Koshevoy
    Date:   Sat Nov 9 09:08:26 2024 -0700

        lavfi/vf_zscale: fix call to av_pix_fmt_count_planes

        realign_frame called av_pix_fmt_count_planes with incorrect parameter.

        Signed-off-by: James Almer
        (cherry picked from commit 00cf3df03f66dca44568b5b5d3e9da35d3597470)

    commit 85f389520dbda5054d1379e7270f302ff1eb3b5e
    Author: Pavel Koshevoy
    Date:   Sat Nov 9 10:05:16 2024 -0700

        lavfi/vf_zscale: fix tmp buffer ptr alignment for zimg_filter_graph_process

        Signed-off-by: James Almer
        (cherry picked from commit 7b302f4db7d335f4dd42cffb461b2b0db6c00749)

    commit fa15e3839dae0139ffc13fa02a41ff87065096e5
    Author: James Almer
    Date:   Sat Nov 9 11:20:59 2024 -0300

        avfilter/framepool: align the frame buffers

        And not just the linesizes. Use the extra align bytes allocated for this purpose.

        Signed-off-by: James Almer
        (cherry picked from commit f15fc27db5b30365f2aec474bae9b8095d6d2197)

    commit b9abdd9eaa4ae7fe7c2d3512444bf9bd7a56e138
    Author: James Almer
    Date:   Fri Oct 25 12:49:11 2024 -0300

        avcodec/h2645_sei: use the RefStruct API for film_grain_characteristics

        And ensure the buffer is synced between threads.
        Based on a patch by Dale Curtis

        Signed-off-by: James Almer
        (cherry picked from commit e33b162c7d8bbbb4838a2af3685fad2bb1ac774a)

    commit 5f8b02a9ffc233f962dd6b267f5ae377eca22571
    Author: James Almer
    Date:   Thu Oct 24 23:09:23 2024 -0300

        avcodec/aom_film_grain: allocate film grain metadata dynamically

        This removes the ABI breaking use of sizeof(AVFilmGrainParams), and achieves the
        same size reduction to decoder structs as 08b1bffa49715a9615acc025dfbea252d8409e1f.

        Signed-off-by: James Almer
        (cherry picked from commit fd4a2c9b026d8e23301854a500fdfc7bd4a4cbc6)

    commit f8fcebae95f711ce980c954eb41d2e2e703d5e14
    Author: James Almer
    Date:   Fri Nov 8 20:43:39 2024 -0300

        avformat/mov: use an array of pointers for heif_item

        Pointers to specific entries in the array are stored in other structs, so
        in the scenario where heif_item was reallocated when parsing an iloc box after
        and iinf one, the pointers may end up referencing freed memory.

        Fixes use-after-free with such samples.

        Signed-off-by: James Almer

    commit 23697c3f02c43ef8135357eda5b58e884e7ccf45
    Author: James Almer
    Date:   Sat Oct 5 10:32:14 2024 -0300

        avformat/mov: split off heif item initialization to its own function

        Signed-off-by: James Almer
        (cherry picked from commit d5eb0e7fb334b83849a8515d83f8a3acb5a762c6)

    commit 779b0fe015b166f83a607e4126d1c55810c46855
    Author: James Almer
    Date:   Mon Sep 30 13:43:23 2024 -0300

        avformat/mov: factorize getting the current item

        Signed-off-by: James Almer
        (cherry picked from commit 58c265d956f4ce2efb0004c398e2c1f030f9398a)

    commit f686cf77db3d3d556072c8b557deca366ccfe7dd
    Author: Rémi Denis-Courmont
    Date:   Sat Nov 16 16:22:49 2024 +0200

        lavc/h264idct: fix RISC-V group multiplier

        After the branch, the expected SEW/LMUL ratio is 1 byte/vector.
        So we have to set the same ratio before branching (QEMU does not care,
        but real hardware does).

        (cherry picked from commit bbb0fdedb78c289f1d3ce3fccb000f031ccfa748)

    commit 4ea558152f05e41f15a548e2aab8e5d40546af5f
    Author: Rémi Denis-Courmont
    Date:   Sat Nov 16 08:57:54 2024 +0200

        lavc/h264dsp: move RISC-V fn pointers to .data.rel.ro

        This should fix PIC builds.

    commit 11e8319b8ef0015e248ff3a400457ebdc0eb77b2
    Author: Leo Izen
    Date:   Thu Nov 7 11:31:49 2024 -0500

        avcodec/jpegxl_parser: fix reading lz77-pair as initial entropy symbol

        The JPEG XL parser has an entropy decoder inside, which supports LZ77
        length-distance pairs. If the first symbol from the entropy stream is an
        LZ77 pair, the bitstream is invalid, so we should abort immediately rather
        than attempt to read it anyway (which would read from the uninitialized
        starting window).

        Reported-by: Kacper Michajłow
        Found-by: ossfuzz
        Fixes: 368725676/clusterfuzz-testcase-minimized-fuzzer_protocol_file-6022251122589696-cut
        Fixes: 42537758/clusterfuzz-testcase-minimized-fuzzer_protocol_file-5818969469026304-cut
        Signed-off-by: Leo Izen

    commit 03ffd4b3b36535833ba179823dc26e811650581d
    Author: Kacper Michajłow
    Date:   Fri Nov 1 13:50:38 2024 +0100

        avcodec/jpegxl_parser: check entropy_decoder_read_symbol return value

        Found by OSS-Fuzz.

        Signed-off-by: Kacper Michajłow

    commit 1b1ba7d4f20c14d084b5304b39d45c8a6c80013b
    Author: Nuo Mi
    Date:   Sun Nov 10 14:20:24 2024 +0800

        avcodec/cbs_h266: Fix regression in DVB clip introduced by 93281630a71c06642adfebebb0d4b105a4e02e91

        This commit introduced a regression to VVC_HDR_UHDTV1_OpenGOP_3840x2160_50fps_HLG10_mosaic.ts.

        Root Cause:
        The AV_CEIL_RSHIFT(a, b) macro uses bit tricks that work only when -a is a negative value.
        However, due to integer promotion rules, this behavior does not extend to the unsigned int type.

        See "6.3.1.1 Boolean, characters, and integers" in the "ISO/IEC 9899" for details.

        Reported-by: Frank Plowman
        (cherry picked from commit c49001e338feb9d8537bb00de33b2a5725ea6028)

    commit baef55364f3aec557c460621ca3e98b74646ebd4
    Author: James Almer
    Date:   Sun Nov 10 16:46:31 2024 -0300

        avcodec/x86/vvc: add prototypes for OF functions

        And wrap the implemtation in preprocessor checks.
        Should fix ticket #11282.

        Signed-off-by: James Almer
        (cherry picked from commit 9ec042c1aaa64b5f6dff8be263feff4288c1844e)

    commit 5120d30890838f71de723f2318de23b363989834
    Author: Anton Khirnov
    Date:   Sat Oct 26 11:48:48 2024 +0200

        Document stream specifier syntax change from 46cbe4ab5c

        Fixes #11248.

        (cherry picked from commit 9e68b26765ca8396050f4b58d4b4fdc53943d35f)
        Signed-off-by: Anton Khirnov

    commit 367b7b546f0e012eadcbcf88fe28c6ebf8d16d8e
    Author: Leandro Santiago
    Date:   Thu Oct 31 21:50:45 2024 +0100

        fftools/ffplay: fix crash when vk renderer is null

        When vulkan rendering is requested by the user and fails, ffplay should
        exit graciously instead of crash due to a null pointer deref.

        Signed-off-by: Leandro Santiago
        Signed-off-by: Zhao Zhili
        (cherry picked from commit fd0cacc4720c68c58f86e41153444252dbd4e5b6)

    commit 15035aaec0b5d86ea063b8b3d46d13ed1ee9bed2
    Author: Marton Balint
    Date:   Tue Oct 22 19:49:16 2024 +0200

        avutil/wchar_filename: re-introduce explicit cast of void* to char*

        Fixes compile error on windows with decklink:

        In file included from ./libavformat/os_support.h:175,
                         from ./libavformat/internal.h:30,
                         from libavdevice/decklink_common.cpp:25:
        ./libavutil/wchar_filename.h: In function 'int wchartocp(unsigned int, const wchar_t*, char**)':
        ./libavutil/wchar_filename.h:59:32: error: invalid conversion from 'void*' to 'char*' [-fpermissive]
           59 |     *filename = av_malloc_array(num_chars, sizeof **filename);
              |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              |                                |
              |                                void*

        Regression since e9e8bea2e79bc3c481a6f81f75f6c871e3e0f367.

        Fixes ticket #11103.

        Signed-off-by: Marton Balint
        (cherry picked from commit 9b0128aa766221f8a32e13cf3c1d3e6d75a2d829)

    commit 9fbbd924f2863312b41303a48705b252b7ee1193
    Author: Emily
    Date:   Mon Oct 7 00:04:56 2024 +0100

        fate/ffmpeg: add samples dependency to fate-ffmpeg-spec-disposition

        This test utilizes an MPEG-TS sample from FATE suite, yet was
        marked as not requiring samples.

        Reviewed-by: Jan Ekström
        (cherry picked from commit 3565903c638fb77d600d2983701b12300e695a5d)

    commit 87ccf995cb855f0baced9916928b7b48d8b6ed9d
    Author: Anton Khirnov
    Date:   Sat Oct 12 19:08:55 2024 +0200

        fftools/ffmpeg_filter: treat apad filter as a source

        Ideally lavfi should have a dedicated API for detecting this.

        Fixes #11168 and #11061

        (cherry picked from commit 9e2a231236428c4682c77858c6aabfd74f459b17)
        Signed-off-by: Anton Khirnov

    commit 020d9f2b4886aa620252da4db7a4936378d6eb3a
    Author: Anton Khirnov
    Date:   Sun Oct 13 14:11:39 2024 +0200

        lavc/avcodec: fix global/private option precendence

        Broken after 7753a9d62725d5bd8313e2d249acbe1c8af79ab1. Apply only the
        whitelist early, and the rest with a single call to av_opt_set_dict2()
        with AV_OPT_SEARCH_CHILDREN, which should be equivalent to the original
        behaviour.

        Reported-by: Cameron Gutman
        (cherry picked from commit 9ce63e65d65b303813d4ae677228226d7cd232b9)
        Signed-off-by: Anton Khirnov

    commit 32d3e677171e46828c2bf585fa25ae733ace6d0e
    Author: Nicolas Gaullier
    Date:   Fri Oct 4 11:02:49 2024 +0200

        avfilter/framesync: fix forward EOF pts

        Note1: when the EOF pts is not accurate enough, the last frame
        can be dropped by vf_fps with default rounding.

        Note2: vf_scale use framesync since e82a3997cdd6c0894869b33ba42430ac3,
        so this is a very commonplace scenario.

        For example:
        ./ffprobe -f lavfi testsrc=d=1,scale,fps -of flat \
          -count_frames -show_entries stream=nb_read_frames

        Before:
        streams.stream.0.nb_read_frames="24"

        After:
        streams.stream.0.nb_read_frames="25"

        Signed-off-by: Anton Khirnov
        (cherry picked from commit de976eaf30df33e86c58c8c9af9905c1d8441934)
        Signed-off-by: Anton Khirnov

    commit 5c59d97e8ab90daefa198dcfb0ee4fdf9c57e37f
    Author: Ingo Brückl
    Date:   Wed Oct 9 04:43:01 2024 +0200

        avcodec/vaapi_encode: fix compilation without CONFIG_VAAPI_1

        This adds VAAPIEncodeContext *ctx that has been removed
        in aa82340b0ccdde4955fba41b8de5e45348ecd11d.

        Signed-off-by: Ingo Brückl
        (cherry picked from commit 5557c673ea783a48e8b97c2b740b22eeeca6399b)

    commit 0b5559378b1e9c309ef876ae309a61b23398355b
    Author: Martin Storsjö
    Date:   Tue Oct 1 23:59:41 2024 +0300

        libavcodec: x86: Remove an explicit include of config.asm

        This file is never included explicitly anywhere else, it's only
        included implicitly by passing -Pconfig.asm on the command line.

        Signed-off-by: Martin Storsjö
        (cherry picked from commit 5c4ede6b4ff6fa8818f0ca3f686aa54c1c2092b8)

    commit c0d19c640a00ef1899f6201c659d30ae430692df
    Author: Martin Storsjö
    Date:   Fri Oct 4 10:22:57 2024 +0300

        checkasm: lls: Use relative tolerances rather than absolute ones

        Depending on the magnitude of the output values, the potential
        errors can be larger.

        This fixes errors in the lls tests on x86_32 for some seeds,
        observed with GCC 11 (on Ubuntu 22.04, with the distro compiler,
        with -m32).

        Signed-off-by: Martin Storsjö
        (cherry picked from commit 6668268e16b6d1a6992840dccb12effece2e7202)

    commit 794245fa715493e0275c190d0c3917deccf2d7a8
    Author: Martin Storsjö
    Date:   Fri Oct 4 00:30:24 2024 +0300

        arm: Consistently use proper interworking function returns

        Use "bx lr", or "pop {lr}", which do proper mode switching
        between thumb and arm modes. A plain "mov pc, lr" does not switch
        from thumb mode to arm mode (while in arm mode, it does switch
        mode for a thumb caller).

        This is normally not an issue, as CONFIG_THUMB only is enabled if
        the C compiler defaults to thumb; but stick to patterns that can
        do mode switching if needed, for consistency.

        Signed-off-by: Martin Storsjö
        (cherry picked from commit 77e6293735262b20a86b5047b77991a86cf4e9e1)

    commit 63f5c007a7da69248f664c988398204c21eac7cf
    Author: Gyan Doshi
    Date:   Sat Oct 5 10:08:31 2024 +0530

        avcodec/libx265: unbreak build for X265_BUILD >= 213

        Earlier, x265 made an API change to support alpha and
        other multiple layer pictures. We added guards to accommodate
        that in 1f801dfdb5

        They have now reverted that API change in
        https://bitbucket.org/multicoreware/x265_git/commits/78e5b703b1

        Updated our wrapper guards to unbreak build again.

    commit 9b061291ad3c38944ab628be52e9338090d2f3a7
    Author: Marvin Scholz
    Date:   Tue Oct 1 03:20:04 2024 +0200

        fftools: log unconnected filter output label

        (cherry picked from commit f25c9cc213c7e3eb585d3339eb775b16921c4d98)

    commit e14a3a4b116122899dc8d251d6b890ae378f9802
    Author: Marvin Scholz
    Date:   Tue Oct 1 02:57:11 2024 +0200

        fftools: do not access out of bounds filtergraph

        The log message was logged for `filtergraphs[j]` which would cause a
        heap buffer overflow in certain circumstances.

        Correctly it should be logged for the current filtergraph, so just
        use `fg` here.

        (cherry picked from commit 5beeb3a1f97d8f6d4076fe83aaf5e2e5871f945e)

    commit 4c0ef3bfae1473902f8ec8ee0a1a95607827b390
    Author: Zhao Zhili
    Date:   Fri Oct 4 01:30:57 2024 +0800

        avcodec/mediacodecenc: Fix access of uninitialized value

        When crop is skipped, av_strlcatf will access `str` which isn't
        initialized properly.

        Signed-off-by: Zhao Zhili
        (cherry picked from commit eff9ed7bff45998ea370e3d6f627529ad47e2e74)

    commit 8be6e56a536e978d77640dadc7c00861b19c0ee5
    Author: Zhao Zhili
    Date:   Tue Sep 24 00:16:13 2024 +0800

        avformat/img2enc: Fix integer truncation when frame_pts is enabled

        Fix #11194

        Signed-off-by: Zhao Zhili
        (cherry picked from commit f56a54387b9cea884ca139e9cb993ff6989b8def)

    commit ff93c1898d4b1807f4ac0d59897891c5d342a865
    Author: Zhao Zhili
    Date:   Mon Sep 23 23:14:19 2024 +0800

        avformat/internal: Add ff_get_frame_filename

        It's similar to av_get_frame_filename2 but with int64_t number
        support. Make av_get_frame_filename* a wrapper over
        ff_get_frame_filename.

        Co-authored-by: Filip Mašić
        Signed-off-by: Zhao Zhili
        (cherry picked from commit a2d9663241908d6f558b8e6b24bd42f2aaebc144)

    commit 12682eba2ef6047f58cb34c07726126025b6e752
    Author: James Almer
    Date:   Mon Sep 30 10:59:02 2024 -0300

        avformat/mov: don't return the latest stream when an item stream is expected

        Otherwise, things like ICC profiles as read from the colr box meant for an item
        with no stream (like a grid) may end up being added to the wrong stream.

        Signed-off-by: James Almer
        (cherry picked from commit 04182b55494b44152146e6a6bcd5eb9403f00625)

    commit b08d7969c550a804a59511c7b83f2dd8cc0499b8
    Author: Michael Niedermayer
    Date:   Fri Nov 2 01:36:21 2018 +0100

        RELEASE_NOTES: Based on the version from 5.1

        Name suggested by 3 people on ML

        Signed-off-by: Michael Niedermayer

    commit 69cf68f5a0999b50aa595a92ba8e212ea997c4e5
    Author: Michael Niedermayer
    Date:   Sun Sep 29 18:41:14 2024 +0200

        Update for 7.1

        Signed-off-by: Michael Niedermayer

    commit 0bad953cc54905d1147309cc45feffb17d7b02a6
    Author: Michael Niedermayer
    Date:   Tue Sep 24 23:43:09 2024 +0200

        avcodec/ffv1enc: Fix >8bit context size

        Fixes: Ticket5405

        Sponsored-by: Sovereign Tech Fund
        Signed-off-by: Michael Niedermayer
        (cherry picked from commit a9c83e43f2fc9128e20851291b0270add1a6b95f)
        Signed-off-by: Michael Niedermayer

    commit 09e9d61d0a12dee0272966c4f82d0a65ad696d42
    Author: Martin Storsjö
    Date:   Thu Sep 26 13:13:46 2024 +0300

        checkasm/sw_rgb: Revert test additions from e18b46d95fadcbaaf450bda9f1871849f2b0c586

        The unaligned width test cases fail on i386; we have an assembly
        function of rgb24toyv12 which is enabled only within
        "#if ARCH_X86_32 && HAVE_7REGS", which seems to fail these new
        test cases for unaligned widths.

        As that assembly function has existed for a long time in that form,
        the issue probably isn't very recent, thus skip testing these cases
        for now.

        Once the assembly function has been fixed, these test cases can
        be readded.

        Signed-off-by: Martin Storsjö
        (cherry picked from commit 157ce21939771a8054b5effc05381fa30b825c1f)
        Signed-off-by: Martin Storsjö

    commit ebd0ca9fee85891262979b2c9d320ff69abdc104
    Author: Marvin Scholz
    Date:   Thu Sep 12 04:58:38 2024 +0200

        avdevice/decklink_dec: fix leaks on error

        In case of errors in this function, the allocated context
        was not properly freed in several cases.

        Signed-off-by: Marton Balint
        (cherry picked from commit 8e76c993013d6dd9382774d1716d8fe2421c42bd)

    commit 963145483cd0234cd0fac1b51f2410b5274b5f2d
    Author: Marvin Scholz
    Date:   Thu Sep 12 04:52:43 2024 +0200

        avdevice/decklink_dec: fix leak on error

        In the early return when both draw_bars and signal_loss_action
        options are used, the context allocated previously was not
        properly freed.

        Introduced in 9bcb86b0fa58f1a5a2a8613065349e26abadb329

        Fixes CID1619296

        Signed-off-by: Marton Balint
        (cherry picked from commit 7554346cb5cf6e8863da12f9d56e300b08d6cc23)

    commit 05ff3eb9f2b9321e4314e7d84fe67557bd809307
    Author: Brad Smith
    Date:   Sat Sep 21 05:00:41 2024 -0400

        ppc: Recognize the PPC VSX and Power8 CPU flags

        Signed-off-by: Brad Smith
        (cherry picked from commit 6ec6b0790021c5871016f57ac33d54bb6cab7a7d)
        Signed-off-by: Brad Smith

    commit d5c308fcc5576861e42aa0c8897e3a0271a86ff7
    Author: Anton Khirnov
    Date:   Thu Sep 26 18:08:04 2024 +0200

        lavu/opt: avoid accidentally propagating spurious errors

        An error from read_number() is non-fatal here and should not be
        forwarded.

        (cherry picked from commit 505fea34e53e0459d1ca6604a3f4737f0b90902c)
        Signed-off-by: Anton Khirnov

    commit 55d0c353fe745c762a9ff0a69c97e11522a6d1e7
    Author: Anton Khirnov
    Date:   Wed Sep 25 20:49:47 2024 +0200

        lavu/opt: add missing 'else'

        (cherry picked from commit 9b764e9b491747aa85c47ecd210551ab001ca977)
        Signed-off-by: Anton Khirnov

    commit 9ada04faa3780c6360ffc6f354374e06bca00a8a
    Author: Lynne
    Date:   Fri Sep 27 09:52:14 2024 +0200

        vulkan_encode_h265: fix rate control VBV values

        The values written were placeholder values.

        (cherry picked from commit 81c6e6c9eeb2ced02654631dbe83d342e6b59505)

    commit 0482410818e0fcff0e77f2d2813d391809f52ce4
    Author: Lynne
    Date:   Fri Sep 27 09:49:35 2024 +0200

        vulkan_encode_h264: fix rate control VBV values

        The values must be in milliseconds, not bytes.

        (cherry picked from commit 934be0ff50fbe58aa44bc8a876f07195846d15ea)

    commit c21472ec31bb999b1960cf0ce9f93932b4939018
    Author: James Almer
    Date:   Thu Sep 26 16:38:24 2024 -0300

        avutil/iamf: fix doxygen

        Signed-off-by: James Almer
        (cherry picked from commit d55ab2ba9b16cabf1a069bcd6784e8d4906fc859)

    commit cb2327562326773bb4d497df8514ff25eba0f37c
    Author: James Almer
    Date:   Tue Sep 24 21:08:23 2024 -0300

        tests/fate/mov: fix rules for some tests

        This was broken in 2fb2cd5c79fc0a01539e826530a195c3d6b78a17 and
        74553f0026941de88286e821c9e0973206bdb1b5, making a simple make fate-mov fail
        and most of the test not run with a simple make fate.

        Signed-off-by: James Almer
        (cherry picked from commit 8b4e32f30bd28222c45128a9935ed483ac90f414)

    commit f7643454aad674fd4f53cb605555eadd56b0fd96
    Author: James Almer
    Date:   Tue Sep 24 16:08:29 2024 -0300

        avfilter/vf_showinfo: add missing break to ViewID case

        Missed in 6940a6de2f047ceae414ddebaab30cd9fe35b020.

        Signed-off-by: James Almer
        (cherry picked from commit fd6cc18d60cd1b61380324c13050b04285eb1fb4)

    commit 2db706374e54d77f93492e5b58074341c815f47a
    Author: James Almer
    Date:   Tue Sep 24 15:04:12 2024 -0300

        avcodec/hevc/sei: num_ref_displays can be up to 32

        Signed-off-by: James Almer

    commit a6a346e154442254ee02dde44c7b25da8010668b
    Author: James Almer
    Date:   Tue Sep 24 15:04:01 2024 -0300

        avcodec/cbs_h265: num_ref_displays can be up to 32

        Signed-off-by: James Almer

    commit 00ce36d037b28ead77271c4d0fd8a6247d9c0b47
    Author: James Almer
    Date:   Tue Aug 27 09:52:36 2024 -0300

        avcodec/cbs_h265: fix valid range for {left,right}_view_id

        view_id_len in VPS is 4 bits, so view_id values can be up to 15 bits long.

        Signed-off-by: James Almer

    commit f459c56b0fe3b35f1e21951791df0f111d1dbbcf
    Author: Anton Khirnov
    Date:   Tue Sep 24 18:21:05 2024 +0200

        tests/fate/hevc: use bitexact scaling flags for fate-hevc-mv-switch

        Makes the results consistent across platforms.

        (cherry picked from commit 9dc0edd4546bebfa451233b12548a8caa4a399ab)
        Signed-off-by: Anton Khirnov

    commit e1094ac45d3bc7942043e72a23b6ab30faaddb8a
    Author: Michael Niedermayer
    Date:   Tue Sep 24 17:07:30 2024 +0200

        */version.h: bump minor versions for release/7.1

        Signed-off-by: Michael Niedermayer

    commit 27c6f5f6d2f1061e9723cf0a98beefb09dfde56b
    Author: Michael Niedermayer
    Date:   Tue Sep 24 17:05:48 2024 +0200

        Changelog: Mark for 7.1

        Signed-off-by: Michael Niedermayer

    commit 10d8b6f17c8c898feb9fcbc4d2f0ba2b95624356
    Author: Michael Niedermayer
    Date:   Tue Sep 24 16:56:46 2024 +0200

        doc/APIchanges: update

        Signed-off-by: Michael Niedermayer

    commit 56bef2fd58d0ed30dbe940083c30ada2b0404491
    Author: Michael Niedermayer
    Date:   Sun Sep 22 23:15:35 2024 +0200

        avcodec/xan: Add basic input size check

        Fixes: Timeout
        Fixes: 71739/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XAN_WC3_fuzzer-6170301405134848

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpe
        Signed-off-by: Michael Niedermayer

    commit 03050a0d9092c57757a10b9e3c96e89e047d25bc
    Author: Michael Niedermayer
    Date:   Sun Sep 22 23:05:28 2024 +0200

        avcodec/vble: Allocate buffer later

        Fixes: Timeout
        Fixes: 71727/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VBLE_fuzzer-6126342574243840

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer

    commit 5f471b500c4f9f37a902266616644dd1496b022b
    Author: Michael Niedermayer
    Date:   Sun Sep 22 22:56:48 2024 +0200

        avcodec/sgirledec: Check input length

        Fixes: Timeout
        Fixes: 71712/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SGIRLE_fuzzer-5763700835811328

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer

    commit 8367d7e184562f8b9f410c0f325596f7e041884f
    Author: Michael Niedermayer
    Date:   Sun Sep 22 22:47:03 2024 +0200

        avcodec/imm4: Check input size

        Fixes: Timeout
        Fixes: 71324/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IMM4_fuzzer-5388489435185152

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer

    commit 050b5e85cbe61414ba9b78f76a04b2488e816f42
    Author: Michael Niedermayer
    Date:   Sun Sep 22 20:31:58 2024 +0200

        avcodec/svq3: Check for minimum size input

        Fixes: Timeout
        Fixes: 71295/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SVQ3_fuzzer-4999941125111808

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer

    commit 6190e826471fd9d3a66685000b5b3e4d8b163013
    Author: Michael Niedermayer
    Date:   Sun Sep 22 20:15:40 2024 +0200

        tools/target_swr_fuzzer: Limit the number of samples

        Fixes: OOM and Timeout
        Fixes: 71254/clusterfuzz-testcase-minimized-ffmpeg_SWR_fuzzer-5941896977907712

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer

    commit 5ded752241aec7d21b539c4c8606569e4fe3a164
    Author: Michael Niedermayer
    Date:   Sat Sep 21 00:00:28 2024 +0200

        tools/target_dec_fuzzer: Add threshold for SRGC

        Fixes: Timeout
        Fixes: 71234/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SRGC_fuzzer-5098445864501248

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer

    commit c3a1cbbf5d99337b5e99260eb95c84e65c7587f6
    Author: Michael Niedermayer
    Date:   Thu Sep 19 23:57:31 2024 +0200

        avcodec/eacmv: Check input size for intra frames

        Fixes: Timeout
        Fixes: 71135/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EACMV_fuzzer-6251879028293632

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer

    commit 9a823fbcfae33c8022086cbdea94e8e6d7b32ec1
    Author: Michael Niedermayer
    Date:   Thu Sep 19 23:41:39 2024 +0200

        tools/target_dec_fuzzer: Adapt threshold for RASC

        Fixes: Timeout
        Fixes: 71108/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-4799330484027392

        Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
        Signed-off-by: Michael Niedermayer