lavc/hevcdec: constify source frame in hevc_ref_frame()

release/7.1
Anton Khirnov 8 months ago
parent ccd391d6a3
commit 08ea7d6b8e
  1. 2
      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;

Loading…
Cancel
Save