summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpgaudio.c
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2002-05-19 12:27:36 +0000
committerEwald Snel <esnel@users.sourceforge.net>2002-05-19 12:27:36 +0000
commit5d42db5b3dca4d3c8cf7ea11a207a0792afbf06b (patch)
tree905c5111137772804aa69f4adb885006203b6506 /src/demuxers/demux_mpgaudio.c
parent3f34bdf9c2664b667fe0714602e6794e84f9b463 (diff)
downloadxine-lib-5d42db5b3dca4d3c8cf7ea11a207a0792afbf06b.tar.gz
xine-lib-5d42db5b3dca4d3c8cf7ea11a207a0792afbf06b.tar.bz2
Fix segmentation fault in demux plugins caused by uninitialized data
CVS patchset: 1909 CVS date: 2002/05/19 12:27:36
Diffstat (limited to 'src/demuxers/demux_mpgaudio.c')
-rw-r--r--src/demuxers/demux_mpgaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c
index 1293482a0..6d9c51eac 100644
--- a/src/demuxers/demux_mpgaudio.c
+++ b/src/demuxers/demux_mpgaudio.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_mpgaudio.c,v 1.42 2002/05/16 22:18:39 tmattern Exp $
+ * $Id: demux_mpgaudio.c,v 1.43 2002/05/19 12:27:36 esnel Exp $
*
* demultiplexer for mpeg audio (i.e. mp3) streams
*
@@ -510,7 +510,7 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) {
return NULL;
}
- this = malloc (sizeof (demux_mpgaudio_t));
+ this = xine_xmalloc (sizeof (demux_mpgaudio_t));
this->config = xine->config;
this->xine = xine;