diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-06 21:03:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-06 21:03:24 +0000 |
commit | 9f2e61b6a37ed2f68549c4baec09f75f182b4a61 (patch) | |
tree | 73763f33e97536cfb84cd4c50e53c7dacce519dd /libavcodec/mpegvideo.c | |
parent | be6784dc8a72f363dd7a577006b5e2d584479483 (diff) | |
download | ffmpeg-9f2e61b6a37ed2f68549c4baec09f75f182b4a61.tar.gz |
pict_type & quality fix
Originally committed as revision 1739 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 61b26a368f..c915995c4e 100644 --- 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; |