mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mpegvideo: do not update last_non_b_pict_type in update_thread_context()
It is used for encoding only.
This commit is contained in:
parent
1f8eb69079
commit
b7254288d2
@ -762,10 +762,6 @@ do {\
|
||||
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;
|
||||
|
||||
if (s1->pict_type != AV_PICTURE_TYPE_B) {
|
||||
s->last_non_b_pict_type = s1->pict_type;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user