The branch, release/8.0 has been updated
       via  08a81b090b2b8f8f7ec8847d1569eb2042ff1875 (commit)
       via  1c9d70c4af57f288152d53ee3572b305d456daae (commit)
      from  e219c8f77b28ee9c2d776860a5fabc490790572b (commit)


- Log -----------------------------------------------------------------
commit 08a81b090b2b8f8f7ec8847d1569eb2042ff1875
Author:     James Almer <jamr...@gmail.com>
AuthorDate: Mon Aug 25 10:36:26 2025 -0300
Commit:     James Almer <jamr...@gmail.com>
CommitDate: Mon Aug 25 10:42:12 2025 -0300

    avfilter/vf_lcevc: support LCEVCdec version 4
    
    Signed-off-by: James Almer <jamr...@gmail.com>

diff --git a/libavfilter/vf_lcevc.c b/libavfilter/vf_lcevc.c
index 8ac2b212c3..74875e1b84 100644
--- a/libavfilter/vf_lcevc.c
+++ b/libavfilter/vf_lcevc.c
@@ -139,7 +139,11 @@ static int send_frame(AVFilterLink *inlink, AVFrame *in)
         return ret;
 
     if (sd) {
+#ifdef LCEVC_DEC_VERSION_MAJOR
+        res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 
sd->data, sd->size);
+#else
         res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 0, 
sd->data, sd->size);
+#endif
         if (res == LCEVC_Again)
             return AVERROR(EAGAIN);
         else if (res != LCEVC_Success) {
@@ -148,7 +152,11 @@ static int send_frame(AVFilterLink *inlink, AVFrame *in)
         }
     }
 
+#ifdef LCEVC_DEC_VERSION_MAJOR
+    res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, picture, -1, in);
+#else
     res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, in);
+#endif
     if (res != LCEVC_Success) {
         av_log(ctx, AV_LOG_ERROR, "LCEVC_SendDecoderBase failed\n");
         LCEVC_FreePicture(lcevc->decoder, picture);

commit 1c9d70c4af57f288152d53ee3572b305d456daae
Author:     James Almer <jamr...@gmail.com>
AuthorDate: Mon Aug 25 10:36:10 2025 -0300
Commit:     James Almer <jamr...@gmail.com>
CommitDate: Mon Aug 25 10:41:50 2025 -0300

    avcodec/lcevcdec: support LCEVCdec version 4
    
    Signed-off-by: James Almer <jamr...@gmail.com>

diff --git a/libavcodec/lcevcdec.c b/libavcodec/lcevcdec.c
index 102f6f32e9..158957abc5 100644
--- a/libavcodec/lcevcdec.c
+++ b/libavcodec/lcevcdec.c
@@ -141,7 +141,11 @@ static int lcevc_send_frame(void *logctx, FFLCEVCFrame 
*frame_ctx, const AVFrame
     if (!sd)
         return 1;
 
+#ifdef LCEVC_DEC_VERSION_MAJOR
+    res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, sd->data, 
sd->size);
+#else
     res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 0, 
sd->data, sd->size);
+#endif
     if (res != LCEVC_Success)
         return AVERROR_EXTERNAL;
 
@@ -149,7 +153,11 @@ static int lcevc_send_frame(void *logctx, FFLCEVCFrame 
*frame_ctx, const AVFrame
     if (ret < 0)
         return ret;
 
+#ifdef LCEVC_DEC_VERSION_MAJOR
+    res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, picture, -1, NULL);
+#else
     res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, NULL);
+#endif
     if (res != LCEVC_Success)
         return AVERROR_EXTERNAL;
 

-----------------------------------------------------------------------

Summary of changes:
 libavcodec/lcevcdec.c  | 8 ++++++++
 libavfilter/vf_lcevc.c | 8 ++++++++
 2 files changed, 16 insertions(+)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- ffmpeg-cvslog@ffmpeg.org
To unsubscribe send an email to ffmpeg-cvslog-le...@ffmpeg.org

Reply via email to