From dd80e5841894f854e2d994601016151531521d9a Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 16 Sep 2025 09:37:48 +0200
Subject: [PATCH] mpv: fix build with ffmpeg 8.0

quick fix, only compile tested

Signed-off-by: Markus Volk <f_l_k@t-online.de>

Upstream-Status: Pending
---
 demux/demux_mkv.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c
index 135edcc23d..cc7ce3e98f 100644
--- a/demux/demux_mkv.c
+++ b/demux/demux_mkv.c
@@ -2200,16 +2200,16 @@ static int demux_mkv_open_sub(demuxer_t *demuxer, mkv_track_t *track)
             // [0x30..0x37] are component tags utilized for
             // non-mobile captioning service ("profile A").
             if (component_tag >= 0x30 && component_tag <= 0x37)
-                lav->profile = FF_PROFILE_ARIB_PROFILE_A;
+                lav->profile = AV_PROFILE_ARIB_PROFILE_A;
             break;
         case 0x0012:
             // component tag 0x87 signifies a mobile/partial reception
             // (1seg) captioning service ("profile C").
             if (component_tag == 0x87)
-                lav->profile = FF_PROFILE_ARIB_PROFILE_C;
+                lav->profile = AV_PROFILE_ARIB_PROFILE_C;
             break;
         }
-        if (lav->profile == FF_PROFILE_UNKNOWN)
+        if (lav->profile == AV_PROFILE_UNKNOWN)
             MP_WARN(demuxer, "ARIB caption profile %02x / %04x not supported.\n",
                     component_tag, data_component_id);
     }
-- 
2.50.1

