mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
gst/asfdemux/gstasfdemux.c: Hi, I'm a memleak
Original commit message from CVS: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps): Hi, I'm a memleak
This commit is contained in:
parent
f6ec1783ad
commit
be1e907f6a
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-16 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
|
||||||
|
Hi, I'm a memleak
|
||||||
|
|
||||||
2004-05-16 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
2004-05-16 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||||
|
|
||||||
* gst/asfdemux/gstasfdemux.c:
|
* gst/asfdemux/gstasfdemux.c:
|
||||||
|
|
|
@ -1514,6 +1514,7 @@ gst_asf_demux_audio_caps (guint16 codec_id,
|
||||||
"codec_data", GST_TYPE_BUFFER, buffer,
|
"codec_data", GST_TYPE_BUFFER, buffer,
|
||||||
"block_align", G_TYPE_INT, audio->block_align,
|
"block_align", G_TYPE_INT, audio->block_align,
|
||||||
"bitrate", G_TYPE_INT, audio->byte_rate * 8, NULL);
|
"bitrate", G_TYPE_INT, audio->byte_rate * 8, NULL);
|
||||||
|
gst_data_unref (GST_DATA (buffer));
|
||||||
}
|
}
|
||||||
if (codec_name)
|
if (codec_name)
|
||||||
*codec_name = g_strdup ("Microsoft WMA V2");
|
*codec_name = g_strdup ("Microsoft WMA V2");
|
||||||
|
|
Loading…
Reference in a new issue