diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-09 18:49:01 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-10 18:49:35 +0200 |
commit | 300e31457a42a4b618b6cecab65acbcc5632cb16 (patch) | |
tree | 468e0687a71262249ef53bad34fc440eb93e2f60 /libavcodec/mpegvideo_enc.c | |
parent | dfaf319ac9477c7efe35c773b23666f515dd3f3e (diff) | |
download | ffmpeg-300e31457a42a4b618b6cecab65acbcc5632cb16.tar.gz |
avcodec/mpegvideo_enc: Remove redundant cast
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 4840d80fe8..63fa0663d3 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -1154,7 +1154,7 @@ static int load_input_picture(MpegEncContext *s, const AVFrame *pic_arg) for (i = flush_offset; i < MAX_PICTURE_COUNT /*s->encoding_delay + 1*/; i++) s->input_picture[i - flush_offset] = s->input_picture[i]; - s->input_picture[encoding_delay] = (Picture*) pic; + s->input_picture[encoding_delay] = pic; return 0; } |