Commit a202560c authored by michael's avatar michael

Fixed typo which caused incorrect motion prediction in B-frames. patch by...

Fixed typo which caused incorrect motion prediction in B-frames. patch by (Loren Merritt <lorenm ta u tod washington tod edu>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3709 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 699c74b2
......@@ -1017,7 +1017,7 @@ static inline void write_back_motion(H264Context *h, int mb_type){
}
}
for(y=0; y<2; y++){
*(uint16_t*)s->current_picture.motion_val[list][b8_xy + y*h->b8_stride]= (LIST_NOT_USED&0xFF)*0x0101;
*(uint16_t*)&s->current_picture.ref_index[list][b8_xy + y*h->b8_stride]= (LIST_NOT_USED&0xFF)*0x0101;
}
}
continue; //FIXME direct mode ...
......
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