summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/riff/riffutil.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2003-01-21 22:23:11 +0000
committerWim Taymans <wim.taymans@gmail.com>2003-01-21 22:23:11 +0000
commit3b1ea7a4b95dbc0cfb4c38fb0923a089efae36f2 (patch)
tree6043218ecba850c07dcfa64e71d5bef846c22989 /gst-libs/gst/riff/riffutil.c
parent4e2192230b5d413467ff3652be3c96ec10c7e76c (diff)
downloadgst-plugins-bad-3b1ea7a4b95dbc0cfb4c38fb0923a089efae36f2.tar.gz
gst-plugins-bad-3b1ea7a4b95dbc0cfb4c38fb0923a089efae36f2.tar.bz2
gst-plugins-bad-3b1ea7a4b95dbc0cfb4c38fb0923a089efae36f2.zip
- Add strn tag
Original commit message from CVS: - Add strn tag - fix memleak in debugging code
Diffstat (limited to 'gst-libs/gst/riff/riffutil.c')
-rw-r--r--gst-libs/gst/riff/riffutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/riff/riffutil.c b/gst-libs/gst/riff/riffutil.c
index b363ddb8..e4c134fb 100644
--- a/gst-libs/gst/riff/riffutil.c
+++ b/gst-libs/gst/riff/riffutil.c
@@ -32,7 +32,7 @@ gulong gst_riff_fourcc_to_id(gchar *fourcc) {
}
gchar *gst_riff_id_to_fourcc(gulong id) {
- gchar *fourcc = (gchar *)g_malloc(5);
+ static gchar fourcc[5];
g_return_val_if_fail(fourcc != NULL, NULL);