diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-07-28 01:35:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-07-28 01:35:29 +0000 |
commit | 620ab797f03ecb3f1df9e24590ff2b669c49e319 (patch) | |
tree | 132169d43a4a526de9b708b22d45b5e5356b46b7 /libavcodec | |
parent | 2ff9ff5bdf0cfa09550c4819bceca86d0b305c51 (diff) | |
download | ffmpeg-620ab797f03ecb3f1df9e24590ff2b669c49e319.tar.gz |
1/0 fix
Originally committed as revision 3357 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/snow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 1870461d9d..bf454b9103 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -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; } + if(b_w<=0 || b_h<=0) return; + dst += s_x + s_y*dst_stride; if(mb_type==1){ |