Commit f89fca49 authored by reimar's avatar reimar

width instead of chromWidth causing segfault in some cases


git-svn-id: file:///var/local/repositories/mplayer/trunk/postproc@12994 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 5934a3a5
...@@ -2291,7 +2291,7 @@ static inline void RENAME(rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_ ...@@ -2291,7 +2291,7 @@ static inline void RENAME(rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_
"movd %%mm0, (%3, %%eax) \n\t" "movd %%mm0, (%3, %%eax) \n\t"
"addl $4, %%eax \n\t" "addl $4, %%eax \n\t"
" js 1b \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" : "%eax", "%ebx"
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment