summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-09-09 22:55:17 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-09-09 22:55:17 +0000
commite3741783bdcd448d594efe0f45fea2ae22611c62 (patch)
tree84164c6070b10429f5344152f8d49ceb1e129fca
parentc05d43dad3d6286463c421e86c5b5091775b43fc (diff)
downloadgst-plugins-bad-e3741783bdcd448d594efe0f45fea2ae22611c62.tar.gz
gst-plugins-bad-e3741783bdcd448d594efe0f45fea2ae22611c62.tar.bz2
gst-plugins-bad-e3741783bdcd448d594efe0f45fea2ae22611c62.zip
- isprint seems to detect and ascii stream better
Original commit message from CVS: - isprint seems to detect and ascii stream better
-rw-r--r--gst/festival/gstfestival.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c
index aac100bf..699f0fbc 100644
--- a/gst/festival/gstfestival.c
+++ b/gst/festival/gstfestival.c
@@ -212,7 +212,7 @@ text_type_find (GstBuffer *buf, gpointer private)
gint i;
for (i=0; i<GST_BUFFER_SIZE (buf); i++) {
- if (!isascii(*(data+i)))
+ if (!isprint(*(data+i)))
return NULL;
}