# HG changeset patch # User michael # Date 1090978529 0 # Node ID 2f6518c0e6ccd0c9bc428aa054c9511768a269cf # Parent 44c973bfec0fad165bcb9cb1cf5da011ffe36cf9 1/0 fix diff -r 44c973bfec0f -r 2f6518c0e6cc snow.c --- a/snow.c Wed Jul 28 00:09:03 2004 +0000 +++ b/snow.c Wed Jul 28 01:35:29 2004 +0000 @@ -1701,6 +1701,8 @@ b_h = h - s_y; } + if(b_w<=0 || b_h<=0) return; + dst += s_x + s_y*dst_stride; if(mb_type==1){