projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0df6597
)
fixing mem corruption
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 4 Apr 2003 13:36:07 +0000
(13:36 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 4 Apr 2003 13:36:07 +0000
(13:36 +0000)
Originally committed as revision 1729 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgconvert.c
patch
|
blob
|
history
diff --git
a/libavcodec/imgconvert.c
b/libavcodec/imgconvert.c
index cfb21a4776d67c6937119a4497d7761e730ff1e2..ca1aec6adb18b74ee8284f3ab492a88f0a71b350 100644
(file)
--- 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;