diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-04 13:36:07 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-04 13:36:07 +0000 |
commit | 5064357588a187672ca64c169dc6e6e406777629 (patch) | |
tree | 3515311cd51e7d1d6c65176f081a81e67e3b36c7 /libavcodec | |
parent | 0df65975baf9090b4d9e6eced343c50e5ccd1689 (diff) | |
download | ffmpeg-5064357588a187672ca64c169dc6e6e406777629.tar.gz |
fixing mem corruption
Originally committed as revision 1729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/imgconvert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index cfb21a4776..ca1aec6adb 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -364,6 +364,8 @@ static void conv411(uint8_t *dst, int dst_wrap, int w, c; uint8_t *s1, *s2, *d; + width>>=1; + for(;height > 0; height--) { s1 = src; s2 = src + src_wrap; |