This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 0faa43ae6c93e964279d3d64d6de300fe8af3eb0
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sun Jun 7 09:31:25 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Jun 7 17:53:44 2026 +0200

    avcodec/liboapvenc: Use av_image_copy2() to avoid cast
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/liboapvenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/liboapvenc.c b/libavcodec/liboapvenc.c
index c4051844f8..b09c5d1077 100644
--- a/libavcodec/liboapvenc.c
+++ b/libavcodec/liboapvenc.c
@@ -456,8 +456,8 @@ static int liboapve_encode(AVCodecContext *avctx, AVPacket 
*avpkt,
         return AVERROR(EINVAL);
     }
 
-    av_image_copy((uint8_t **)imgb->a, imgb->s, (const uint8_t **)frame->data, 
frame->linesize,
-                  frame->format, frame->width, frame->height);
+    av_image_copy2((uint8_t **)imgb->a, imgb->s, frame->data, frame->linesize,
+                   frame->format, frame->width, frame->height);
 
     imgb->ts[0] = frame->pts;
 

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

Reply via email to