[FFmpeg-cvslog] mpegvideo: do not update last_non_b_pict_type in update_thread_context()
Anton Khirnov
git at videolan.org
Fri Dec 6 02:25:16 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Nov 30 11:32:25 2013 +0100| [b7254288d222013e20539c530b1ec5d324ed5352] | committer: Anton Khirnov
mpegvideo: do not update last_non_b_pict_type in update_thread_context()
It is used for encoding only.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b7254288d222013e20539c530b1ec5d324ed5352
---
libavcodec/mpegvideo.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 782185f..8ca5e3b 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;
More information about the ffmpeg-cvslog
mailing list