mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/mpegpicture: Constify src parameter of ff_update_picture_tables
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8b856a9e53
commit
66d4c72162
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user