summaryrefslogtreecommitdiffstats
path: root/ext/audiofile
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-07-24 08:49:43 +0000
committerDavid Schleef <ds@schleef.org>2003-07-24 08:49:43 +0000
commita962c0f40c1bf71b44a67f898a35122f158b6b25 (patch)
tree591c4255a1b28c76e1a0331e6648bb3f6585fad9 /ext/audiofile
parenta287b1e4420e0d89ca83e1343acbbae74c8aea9b (diff)
downloadgst-plugins-bad-a962c0f40c1bf71b44a67f898a35122f158b6b25.tar.gz
gst-plugins-bad-a962c0f40c1bf71b44a67f898a35122f158b6b25.tar.bz2
gst-plugins-bad-a962c0f40c1bf71b44a67f898a35122f158b6b25.zip
Add buffer length checks to every typefinding function
Original commit message from CVS: Add buffer length checks to every typefinding function
Diffstat (limited to 'ext/audiofile')
-rw-r--r--ext/audiofile/gstaftypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/audiofile/gstaftypes.c b/ext/audiofile/gstaftypes.c
index 8765f2b5..26832d76 100644
--- a/ext/audiofile/gstaftypes.c
+++ b/ext/audiofile/gstaftypes.c
@@ -58,7 +58,7 @@ gst_aftypes_type_find(GstBuffer *buf, gpointer private)
int file_format, format_version;
gchar *type;
- g_print("calling gst_aftypes_type_find\n");
+ GST_DEBUG("calling gst_aftypes_type_find");
buffer_wrap->buffer = buf;
buffer_wrap->offset = 0;
@@ -76,7 +76,7 @@ gst_aftypes_type_find(GstBuffer *buf, gpointer private)
file_format = afGetFileFormat (file, &format_version);
afCloseFile (file);
- g_print("file format: %d\n", file_format);
+ GST_DEBUG("file format: %d", file_format);
/* reject raw data, just in case it is some other format */
if (file_format == AF_FILE_UNKNOWN ||