mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mpegvideo_enc: Don't update current_picture unnecessarily
current_picture is not changed after frame_start() at all and it therefore does not need to be updated (i.e. copied to the slice thread contexts) a second time. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
1f049d5627
commit
908a73df31
|
@ -251,7 +251,6 @@ static void update_duplicate_context_after_me(MpegEncContext *dst,
|
||||||
{
|
{
|
||||||
#define COPY(a) dst->a= src->a
|
#define COPY(a) dst->a= src->a
|
||||||
COPY(pict_type);
|
COPY(pict_type);
|
||||||
COPY(current_picture);
|
|
||||||
COPY(f_code);
|
COPY(f_code);
|
||||||
COPY(b_code);
|
COPY(b_code);
|
||||||
COPY(qscale);
|
COPY(qscale);
|
||||||
|
|
Loading…
Reference in New Issue