alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

ffmpeg8.patch (1669B)


      1 Patch-Source: https://github.com/mpv-player/mpv/commit/26b29fba02a2782f68e2906f837d21201fc6f1b9
      2 ---
      3 From 26b29fba02a2782f68e2906f837d21201fc6f1b9 Mon Sep 17 00:00:00 2001
      4 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <kasper93@gmail.com>
      5 Date: Fri, 28 Mar 2025 19:12:01 +0100
      6 Subject: [PATCH] demux_mkv: fix compilation after deprecated definitions
      7  removal
      8 
      9 See: https://github.com/FFmpeg/FFmpeg/commit/822432769868da325ba03774df1084aa78b9a5a0
     10 ---
     11  demux/demux_mkv.c | 6 +++---
     12  1 file changed, 3 insertions(+), 3 deletions(-)
     13 
     14 diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c
     15 index 135edcc23d82b..cc7ce3e98f4f6 100644
     16 --- a/demux/demux_mkv.c
     17 +++ b/demux/demux_mkv.c
     18 @@ -2200,16 +2200,16 @@ static int demux_mkv_open_sub(demuxer_t *demuxer, mkv_track_t *track)
     19              // [0x30..0x37] are component tags utilized for
     20              // non-mobile captioning service ("profile A").
     21              if (component_tag >= 0x30 && component_tag <= 0x37)
     22 -                lav->profile = FF_PROFILE_ARIB_PROFILE_A;
     23 +                lav->profile = AV_PROFILE_ARIB_PROFILE_A;
     24              break;
     25          case 0x0012:
     26              // component tag 0x87 signifies a mobile/partial reception
     27              // (1seg) captioning service ("profile C").
     28              if (component_tag == 0x87)
     29 -                lav->profile = FF_PROFILE_ARIB_PROFILE_C;
     30 +                lav->profile = AV_PROFILE_ARIB_PROFILE_C;
     31              break;
     32          }
     33 -        if (lav->profile == FF_PROFILE_UNKNOWN)
     34 +        if (lav->profile == AV_PROFILE_UNKNOWN)
     35              MP_WARN(demuxer, "ARIB caption profile %02x / %04x not supported.\n",
     36                      component_tag, data_component_id);
     37      }