diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-31 05:24:02 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-13 19:49:29 +0100 |
commit | 314e0a821e8c8656d3f2c70d97bf24ad3fbca948 (patch) | |
tree | 29cd762ee5abbf4cf0c8748cd16653c645009757 /libavcodec/mpegvideo_enc.c | |
parent | 6d39f5ffb018da4abf6aba524dc456080ca1f8c5 (diff) |
avcodec/mpegvideo: Constify src of ff_update_duplicate_context()
Also do the same for update_duplicate_context_after_me()
in mpegvideo_enc.c.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 9c2243eed7..5c8e13947f 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -250,7 +250,7 @@ void ff_init_qscale_tab(MpegEncContext *s) } static void update_duplicate_context_after_me(MpegEncContext *dst, - MpegEncContext *src) + const MpegEncContext *src) { #define COPY(a) dst->a= src->a COPY(pict_type); |