aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-30 11:32:25 +0100
committerAnton Khirnov <anton@khirnov.net>2013-12-05 13:23:33 +0100
commitb7254288d222013e20539c530b1ec5d324ed5352 (patch)
treef418d4c91105dd51b852fe8f63e542d7772c51f3 /libavcodec
parent1f8eb69079880ef1f394c498dfdf471f91222a06 (diff)
downloadffmpeg-b7254288d222013e20539c530b1ec5d324ed5352.tar.gz
mpegvideo: do not update last_non_b_pict_type in update_thread_context()
It is used for encoding only.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 782185f73a..8ca5e3b82c 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;