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.h | |
parent | 6d39f5ffb018da4abf6aba524dc456080ca1f8c5 (diff) | |
download | ffmpeg-314e0a821e8c8656d3f2c70d97bf24ad3fbca948.tar.gz |
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.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index d96cd7f1ec..77d1593928 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -589,7 +589,7 @@ void ff_mpv_reconstruct_mb(MpegEncContext *s, int16_t block[12][64]); void ff_clean_intra_table_entries(MpegEncContext *s); -int ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src); +int ff_update_duplicate_context(MpegEncContext *dst, const MpegEncContext *src); void ff_set_qscale(MpegEncContext * s, int qscale); void ff_mpv_idct_init(MpegEncContext *s); |