Mercurial > libavcodec.hg
changeset 2365:b76a4977447a libavcodec
Fixed typo which caused incorrect motion prediction in B-frames. patch by (Loren Merritt <lorenm ta u tod washington tod edu>)
author | michael |
---|---|
date | Wed, 24 Nov 2004 22:50:49 +0000 |
parents | f8a229dfa2e8 |
children | 270666128b07 |
files | h264.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Wed Nov 24 00:15:49 2004 +0000 +++ b/h264.c Wed Nov 24 22:50:49 2004 +0000 @@ -1017,7 +1017,7 @@ } } 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 ...