Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2364:f8a229dfa2e8 | 2365:b76a4977447a |
---|---|
1015 *(uint64_t*)h->mvd_table[list][b_xy + 0 + y*h->b_stride]= | 1015 *(uint64_t*)h->mvd_table[list][b_xy + 0 + y*h->b_stride]= |
1016 *(uint64_t*)h->mvd_table[list][b_xy + 2 + y*h->b_stride]= 0; | 1016 *(uint64_t*)h->mvd_table[list][b_xy + 2 + y*h->b_stride]= 0; |
1017 } | 1017 } |
1018 } | 1018 } |
1019 for(y=0; y<2; y++){ | 1019 for(y=0; y<2; y++){ |
1020 *(uint16_t*)s->current_picture.motion_val[list][b8_xy + y*h->b8_stride]= (LIST_NOT_USED&0xFF)*0x0101; | 1020 *(uint16_t*)&s->current_picture.ref_index[list][b8_xy + y*h->b8_stride]= (LIST_NOT_USED&0xFF)*0x0101; |
1021 } | 1021 } |
1022 } | 1022 } |
1023 continue; //FIXME direct mode ... | 1023 continue; //FIXME direct mode ... |
1024 } | 1024 } |
1025 | 1025 |