aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2004-11-24 22:50:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-24 22:50:49 +0000
commit7d7f635dc000ceb8a3862b3bc08590656e7a9719 (patch)
tree3849350226edd37c6912bd2e0c1d077dedf3d536 /libavcodec
parent6db2583c4f1013f2c1772507d0443dbe1c48b519 (diff)
downloadffmpeg-7d7f635dc000ceb8a3862b3bc08590656e7a9719.tar.gz
Fixed typo which caused incorrect motion prediction in B-frames. patch by (Loren Merritt <lorenm ta u tod washington tod edu>)
Originally committed as revision 3709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 1ea4289420..38d5bebdde 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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 ...