OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f8eb69
)
mpegvideo: do not update last_non_b_pict_type in update_thread_context()
author
Anton Khirnov
<anton@khirnov.net>
Sat, 30 Nov 2013 10:32:25 +0000
(11:32 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Thu, 5 Dec 2013 12:23:33 +0000
(13:23 +0100)
It is used for encoding only.
libavcodec/mpegvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
782185f
..
8ca5e3b
100644
(file)
--- 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;