diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2004-08-10 20:23:58 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2004-08-10 20:23:58 +0000 |
commit | 4ccbc7d5a9ca00ec4e42451c76e7803531f32f55 (patch) | |
tree | 8c37c5dce00e0facc59d458d82064a3a61bcc355 /postproc | |
parent | 8f9298f80143fa0b5496a32aea5261591d3059c7 (diff) | |
download | ffmpeg-streaming-4ccbc7d5a9ca00ec4e42451c76e7803531f32f55.zip ffmpeg-streaming-4ccbc7d5a9ca00ec4e42451c76e7803531f32f55.tar.gz |
width instead of chromWidth causing segfault in some cases
Originally committed as revision 12994 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/rgb2rgb_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c index 81d274b..14f0e2d 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" ); |