Commit 90332deb authored by Michael Niedermayer's avatar Michael Niedermayer

Replace ad-hoc fill rectangle by fill_rectangle().

Originally committed as revision 22025 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d2df291f
...@@ -1469,10 +1469,8 @@ decode_intra_mb: ...@@ -1469,10 +1469,8 @@ decode_intra_mb:
mvd_cache[ 0 ][1]= mpy; mvd_cache[ 0 ][1]= mpy;
} }
}else{ }else{
uint32_t *p= (uint32_t *)&h->mv_cache[list][ scan8[4*i] ][0]; fill_rectangle(h->mv_cache [list][ scan8[4*i] ], 2, 2, 8, 0, 4);
uint32_t *pd= (uint32_t *)&h->mvd_cache[list][ scan8[4*i] ][0]; fill_rectangle(h->mvd_cache[list][ scan8[4*i] ], 2, 2, 8, 0, 4);
p[0] = p[1] = p[8] = p[9] = 0;
pd[0]= pd[1]= pd[8]= pd[9]= 0;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment