PR #23335 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23335
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23335.patch

It's the same as `.layered_video` now.


From 553305ea10399c20a5a57049873010abcfdd9bfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <[email protected]>
Date: Thu, 4 Jun 2026 18:32:42 +0200
Subject: [PATCH] avformat: don't use deprecated .lcevc field
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

It's the same as `.layered_video` now.

Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavformat/avformat.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libavformat/avformat.c b/libavformat/avformat.c
index 3067be0867..dbd4792cd2 100644
--- a/libavformat/avformat.c
+++ b/libavformat/avformat.c
@@ -102,14 +102,11 @@ void ff_free_stream_group(AVStreamGroup **pstg)
                                  &stg->params.tile_grid->nb_coded_side_data);
         av_freep(&stg->params.tile_grid);
         break;
-    case AV_STREAM_GROUP_PARAMS_LCEVC:
-        av_opt_free(stg->params.lcevc);
-        av_freep(&stg->params.lcevc);
-        break;
     case AV_STREAM_GROUP_PARAMS_TREF:
         av_opt_free(stg->params.tref);
         av_freep(&stg->params.tref);
         break;
+    case AV_STREAM_GROUP_PARAMS_LCEVC:
     case AV_STREAM_GROUP_PARAMS_DOLBY_VISION:
         av_opt_free(stg->params.layered_video);
         av_freep(&stg->params.layered_video);
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to