[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c, 1.54, 1.55 open.c, 1.98, 1.99 stream.h, 1.68, 1.69

Moritz Bunkus moritz at bunkus.org
Mon Aug 23 22:45:19 CEST 2004


Hi,

> +static int n_text = 0;
> +static int *text_ids = NULL;

Uhm... global variables in a _demuxer_? Totally breaks when it is used
twice (e.g. with -audiofile).

> +          text_ids = (int *)realloc(text_ids, sizeof(int) * n_text);

This memory is never freed.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20040823/ebb60890/attachment.pgp>


More information about the MPlayer-cvslog mailing list