]> git.sesse.net Git - vlc/blobdiff - modules/demux/m3u.c
modules/demux/ts.c: Fixed a very very minor memleak
[vlc] / modules / demux / m3u.c
index 5a0da19a44f1620b2dc771650a086082396a489e..29fbbbf375903f6419b56955aacaa299397f7ef7 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2001-2004 the VideoLAN team
  * $Id$
  *
- * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
+ * Authors: Sigmund Augdal Helberg <dnumgis@videolan.org>
  *          Gildas Bazin <gbazin@videolan.org>
  *          ClĂ©ment Stenac <zorglub@via.ecp.fr>
  *
@@ -20,7 +20,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -127,7 +127,7 @@ static int Activate( vlc_object_t * p_this )
     if( i_type != TYPE_M3U )
     {
         char *p_peek;
-        int i_size = stream_Peek( p_demux->s, (uint8_t *)&p_peek, MAX_LINE );
+        int i_size = stream_Peek( p_demux->s, (uint8_t **)&p_peek, MAX_LINE );
         i_size -= sizeof("[Reference]") - 1;
 
         if( i_size > 0 )