lavc/hevcdec: constify source frame in hevc_ref_frame()
This commit is contained in:
parent
ccd391d6a3
commit
08ea7d6b8e
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user