mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mpegvideo_enc: Remove redundant cast
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
dfaf319ac9
commit
300e31457a
|
@ -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++)
|
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[i - flush_offset] = s->input_picture[i];
|
||||||
|
|
||||||
s->input_picture[encoding_delay] = (Picture*) pic;
|
s->input_picture[encoding_delay] = pic;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue