Mercurial > libavcodec.hg
diff h264.c @ 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 | 9cd834fc7325 |
children | 26560d4fdb1f |
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 ...