summaryrefslogtreecommitdiff
path: root/libavcodec/mpegpicture.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-31 07:41:40 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-13 19:49:30 +0100
commit66d4c721622bcdfb0ae8ec146994500ba2270d43 (patch)
tree3eb44adabff033259ebd6a9c3e420d189f4a8f70 /libavcodec/mpegpicture.c
parent8b856a9e535de06df96588fb566b8d629e128580 (diff)
avcodec/mpegpicture: Constify src parameter of ff_update_picture_tables
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegpicture.c')
-rw-r--r--libavcodec/mpegpicture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c
index cb3ebcf7e7..681ccc2b82 100644
--- a/libavcodec/mpegpicture.c
+++ b/libavcodec/mpegpicture.c
@@ -334,7 +334,7 @@ void ff_mpeg_unref_picture(AVCodecContext *avctx, Picture *pic)
memset((uint8_t*)pic + off, 0, sizeof(*pic) - off);
}
-int ff_update_picture_tables(Picture *dst, Picture *src)
+int ff_update_picture_tables(Picture *dst, const Picture *src)
{
int i, ret;