lavc/hevcdec: constify source frame in hevc_ref_frame()

This commit is contained in:
Anton Khirnov 2024-06-05 07:09:31 +02:00
parent ccd391d6a3
commit 08ea7d6b8e
1 changed files with 1 additions and 1 deletions

View File

@ -3449,7 +3449,7 @@ static int hevc_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
return avpkt->size; return avpkt->size;
} }
static int hevc_ref_frame(HEVCFrame *dst, HEVCFrame *src) static int hevc_ref_frame(HEVCFrame *dst, const HEVCFrame *src)
{ {
int ret; int ret;