diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2004-11-24 22:50:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-11-24 22:50:49 +0000 |
commit | 7d7f635dc000ceb8a3862b3bc08590656e7a9719 (patch) | |
tree | 3849350226edd37c6912bd2e0c1d077dedf3d536 | |
parent | 6db2583c4f1013f2c1772507d0443dbe1c48b519 (diff) | |
download | ffmpeg-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
-rw-r--r-- | libavcodec/h264.c | 2 |
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 ... |