summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-03-24 03:24:59 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-03-24 03:24:59 +0000
commitda1e126e0db3eda68153bb8130947adba8236034 (patch)
tree4f2dcb5d8ce68d8abad652fe4d3577f94d14cf14 /libswscale/yuv2rgb.c
parent29e455081fa8cd6d97b194c8dff33cc6473e33d9 (diff)
strchr(string, '\0') returns non-NULL, and is thus not suited for use in
redir_isspace(char) to check if '\0' is a space or not. Therefore, we now use memchr(), since then we can give the length of the string (i.e. the length excluding the terminating '\0'). Fixes issue 919, see also the follow-ups in the "[PATCH] rtsp.c small cleanups" mailinglist thread. Originally committed as revision 18177 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libswscale/yuv2rgb.c')
0 files changed, 0 insertions, 0 deletions