From 66d4c721622bcdfb0ae8ec146994500ba2270d43 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 31 Jan 2022 07:41:40 +0100 Subject: avcodec/mpegpicture: Constify src parameter of ff_update_picture_tables Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegpicture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mpegpicture.h') diff --git a/libavcodec/mpegpicture.h b/libavcodec/mpegpicture.h index c79693caba..0671bbae8e 100644 --- a/libavcodec/mpegpicture.h +++ b/libavcodec/mpegpicture.h @@ -109,7 +109,7 @@ int ff_mpeg_ref_picture(AVCodecContext *avctx, Picture *dst, Picture *src); void ff_mpeg_unref_picture(AVCodecContext *avctx, Picture *picture); void ff_mpv_picture_free(AVCodecContext *avctx, Picture *pic); -int ff_update_picture_tables(Picture *dst, Picture *src); +int ff_update_picture_tables(Picture *dst, const Picture *src); int ff_find_unused_picture(AVCodecContext *avctx, Picture *picture, int shared); -- cgit v1.2.3