Commit 70b678d9 authored by michael's avatar michael

1/0 fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3357 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a0d70ff9
...@@ -1701,6 +1701,8 @@ static void add_xblock(DWTELEM *dst, uint8_t *src, uint8_t *obmc, int s_x, int s ...@@ -1701,6 +1701,8 @@ static void add_xblock(DWTELEM *dst, uint8_t *src, uint8_t *obmc, int s_x, int s
b_h = h - s_y; b_h = h - s_y;
} }
if(b_w<=0 || b_h<=0) return;
dst += s_x + s_y*dst_stride; dst += s_x + s_y*dst_stride;
if(mb_type==1){ if(mb_type==1){
......
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