avcodec/mpegvideo: Don't update encoder-only fields for decoders
ff_mpeg_update_thread_context() is only used by decoders. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
81c6b8ffe8
commit
0abdf63ae7
|
@ -658,12 +658,6 @@ do {\
|
|||
memcpy(&s->progressive_sequence, &s1->progressive_sequence,
|
||||
(char *) &s1->rtp_mode - (char *) &s1->progressive_sequence);
|
||||
|
||||
if (!s1->first_field) {
|
||||
s->last_pict_type = s1->pict_type;
|
||||
if (s1->current_picture_ptr)
|
||||
s->last_lambda_for[s1->pict_type] = s1->current_picture_ptr->f->quality;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user