projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be6784d
)
pict_type & quality fix
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 6 Apr 2003 21:03:24 +0000
(21:03 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 6 Apr 2003 21:03:24 +0000
(21:03 +0000)
Originally committed as revision 1739 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index 61b26a368f7b8c108f784dbf5b8af23812723958..c915995c4e87d4e944459311543636ce71bad07e 100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-923,7
+923,11
@@
alloc:
s->current_picture_ptr= &s->picture[i];
}
+ s->current_picture_ptr->pict_type= s->pict_type;
+ s->current_picture_ptr->quality= s->qscale;
+
s->current_picture= *s->current_picture_ptr;
+
if(s->out_format != FMT_H264){
if (s->pict_type != B_TYPE) {
s->last_picture_ptr= s->next_picture_ptr;