Commit d611f002 authored by michael's avatar michael

Fix 1 pass RC in snow.

Fixes issue547.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20706 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5c4a7f91
......@@ -4451,6 +4451,8 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
frame_start(s);
s->m.current_picture_ptr= &s->m.current_picture;
s->m.last_picture.pts= s->m.current_picture.pts;
s->m.current_picture.pts= pict->pts;
if(pict->pict_type == FF_P_TYPE){
int block_width = (width +15)>>4;
int block_height= (height+15)>>4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment