diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2004-09-16 17:36:39 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-16 17:36:39 +0000 |
commit | 1140139fe288386c38f71a89c7c753583fc4e7ff (patch) | |
tree | a9dba3579e10086dd7b3835dc971e65250215efb /libavcodec | |
parent | e1e98dbd570b28b579ba33b490b1c83b0888d15a (diff) | |
download | ffmpeg-1140139fe288386c38f71a89c7c753583fc4e7ff.tar.gz |
10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3471 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 93b0431bdf..d050cb9c0e 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -4845,7 +4845,9 @@ static void encode_picture(MpegEncContext *s, int picture_number) } //FIXME var duplication + s->current_picture_ptr->key_frame= s->current_picture.key_frame= s->pict_type == I_TYPE; //FIXME pic_ptr + s->current_picture_ptr->pict_type= s->current_picture.pict_type= s->pict_type; if(s->current_picture.key_frame) |