ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Wed Jun  5 
07:09:31 2024 +0200| [08ea7d6b8e1efaa613ec24bbc5310ce912e2490d] | committer: 
Anton Khirnov

lavc/hevcdec: constify source frame in hevc_ref_frame()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=08ea7d6b8e1efaa613ec24bbc5310ce912e2490d
---

 libavcodec/hevc/hevcdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index 5fc55d5de9..88f2bcecad 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/libavcodec/hevc/hevcdec.c
@@ -3449,7 +3449,7 @@ static int hevc_decode_frame(AVCodecContext *avctx, 
AVFrame *rframe,
     return avpkt->size;
 }
 
-static int hevc_ref_frame(HEVCFrame *dst, HEVCFrame *src)
+static int hevc_ref_frame(HEVCFrame *dst, const HEVCFrame *src)
 {
     int ret;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to