summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-10 20:23:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-10 20:23:58 +0000
commit4c4ed3e98bde67be1c3b77e45e502e9cc02d21a8 (patch)
tree72a7457b8a52f9dfdfc451ebb5bca118d0c5acc6 /postproc
parent2594c8a462fc28919871800fa4c08f6af00ea747 (diff)
downloadmpv-4c4ed3e98bde67be1c3b77e45e502e9cc02d21a8.tar.bz2
mpv-4c4ed3e98bde67be1c3b77e45e502e9cc02d21a8.tar.xz
width instead of chromWidth causing segfault in some cases
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12994 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/rgb2rgb_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c
index 81d274b225..14f0e2de51 100644
--- a/postproc/rgb2rgb_template.c
+++ b/postproc/rgb2rgb_template.c
@@ -2291,7 +2291,7 @@ static inline void RENAME(rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_
"movd %%mm0, (%3, %%eax) \n\t"
"addl $4, %%eax \n\t"
" js 1b \n\t"
- : : "r" (src+width*6), "r" (src+srcStride+width*6), "r" (udst+width), "r" (vdst+width), "g" (-width)
+ : : "r" (src+chromWidth*6), "r" (src+srcStride+chromWidth*6), "r" (udst+chromWidth), "r" (vdst+chromWidth), "g" (-chromWidth)
: "%eax", "%ebx"
);