diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-06-05 07:09:31 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-06-11 17:39:35 +0200 |
commit | 08ea7d6b8e1efaa613ec24bbc5310ce912e2490d (patch) | |
tree | 10ec7c5b33b3c4eb1acb6d07d4b8976a2d970128 | |
parent | ccd391d6a3afaa2e47f01ac51789082f1a39f03e (diff) | |
download | ffmpeg-08ea7d6b8e1efaa613ec24bbc5310ce912e2490d.tar.gz |
lavc/hevcdec: constify source frame in hevc_ref_frame()
-rw-r--r-- | libavcodec/hevc/hevcdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |