You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mpegvideo_enc: Remove always-true branch
Always-true since1c40a17922
which made4863671d88
superfluous. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -1824,11 +1824,9 @@ static int select_input_picture(MPVMainEncContext *const m)
|
||||
ret = av_frame_ref(s->new_pic, m->reordered_input_picture[0]->f);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
for (int i = 0; i < MPV_MAX_PLANES; i++) {
|
||||
if (s->new_pic->data[i])
|
||||
for (int i = 0; i < MPV_MAX_PLANES; i++)
|
||||
s->new_pic->data[i] += INPLACE_OFFSET;
|
||||
}
|
||||
}
|
||||
s->c.cur_pic.ptr = m->reordered_input_picture[0];
|
||||
m->reordered_input_picture[0] = NULL;
|
||||
av_assert1(s->c.mb_width == s->c.buffer_pools.alloc_mb_width);
|
||||
|
Reference in New Issue
Block a user