diff options
author | Benjamin Otte <otte@gnome.org> | 2003-10-13 16:59:44 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-10-13 16:59:44 +0000 |
commit | 62c7ce69c9d83c7d5b1264bf39268cb3962685ef (patch) | |
tree | 6761301a0c2eac9fb120046125b5cd2bd5642021 /gst/festival | |
parent | abd657d52cc464a103c5802ad540192192dd9ffb (diff) | |
download | gst-plugins-bad-62c7ce69c9d83c7d5b1264bf39268cb3962685ef.tar.gz gst-plugins-bad-62c7ce69c9d83c7d5b1264bf39268cb3962685ef.tar.bz2 gst-plugins-bad-62c7ce69c9d83c7d5b1264bf39268cb3962685ef.zip |
Woah, I'm f***ing annoyed that someonme never tests his changes and figures out that every freakin' format is identif...
Original commit message from CVS:
Woah, I'm f***ing annoyed that someonme never tests his changes and figures out that every freakin' format is identified as text/plain
Diffstat (limited to 'gst/festival')
-rw-r--r-- | gst/festival/gstfestival.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index 31484364..a0f3b8f6 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -212,7 +212,7 @@ text_type_find (GstByteStream *bs, gpointer private) for (i = 0; i < TEXT_SIZE; i++) { if (!isprint (data[i]) && data[i] != '\n') { - break; + goto out; } } @@ -221,6 +221,7 @@ text_type_find (GstByteStream *bs, gpointer private) "text/plain", NULL); } +out: if (buf != NULL) { gst_buffer_unref (buf); |