Commit b7254288 authored by Anton Khirnov's avatar Anton Khirnov

mpegvideo: do not update last_non_b_pict_type in update_thread_context()

It is used for encoding only.
parent 1f8eb690
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment