mpegvideo: do not update last_non_b_pict_type in update_thread_context()

It is used for encoding only.
This commit is contained in:
Anton Khirnov 2013-11-30 11:32:25 +01:00
parent 1f8eb69079
commit b7254288d2

View File

@ -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;