diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2006-03-25 09:46:43 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2006-03-25 09:46:43 +0000 |
commit | 2ea392529a84c38cb3a55acc99b9341f6255956c (patch) | |
tree | 479d88665ba64e6d19182dd623aa41db08891baf | |
parent | 5e8b787afa46f0c0b7c865e8afca26652a4e06ed (diff) | |
download | ffmpeg-2ea392529a84c38cb3a55acc99b9341f6255956c.tar.gz |
10l in 1.199 (write_back_motion with B-pyramid + spatial)
Originally committed as revision 5215 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h264.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index a972aeb03c..15fdfcfc3a 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1422,6 +1422,9 @@ static inline void write_back_motion(H264Context *h, int mb_type){ const int b8_xy= 2*s->mb_x + 2*s->mb_y*h->b8_stride; int list; + if(!USES_LIST(mb_type, 0)) + fill_rectangle(&s->current_picture.ref_index[0][b8_xy], 2, 2, h->b8_stride, (uint8_t)LIST_NOT_USED, 1); + for(list=0; list<2; list++){ int y; if(!USES_LIST(mb_type, list)) |