Commit bd7ba02f12 for ffmpeg

commit bd7ba02f12699aea6e036161f9cbedf01e1a4b4e
Author: Romain Beauxis <romain.beauxis@gmail.com>
Date:   Fri Nov 27 14:39:46 2026 -0600

    avcodec/vorbis_parser: accept setups with 64 modes

    Vorbis allows 64 modes. A six-bit mode number still leaves the previous
    window flag in the first packet byte, and the setup scan already limits
    the count to the 64 entries of mode_blocksize.

diff --git a/libavcodec/vorbis_parser.c b/libavcodec/vorbis_parser.c
index 9102ae0bce..dfe9dbcfdb 100644
--- a/libavcodec/vorbis_parser.c
+++ b/libavcodec/vorbis_parser.c
@@ -157,14 +157,6 @@ static int parse_setup_header(AVVorbisParseContext *s,
                               "sample from an unknown encoder)",
                               last_mode_count);
     }
-    /* We're limiting the mode count to 63 so that we know that the previous
-     * block flag will be in the first packet byte. */
-    if (last_mode_count > 63) {
-        av_log(s, AV_LOG_ERROR, "Unsupported mode count: %d\n",
-               last_mode_count);
-        ret = AVERROR_INVALIDDATA;
-        goto bad_header;
-    }
     s->mode_count = mode_count = last_mode_count;
     /* Determine the number of bits required to code the mode and turn that
      * into a bitmask to directly access the mode from the first frame byte. */