summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patches/patch-au
blob: 55da9f1f81c531a986d470716173e4e9e729bb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-au,v 1.11 2011/12/22 13:31:48 drochner Exp $

VideoLAN-SA-1108

--- modules/demux/ty.c.orig	2011-07-12 18:11:24.000000000 +0000
+++ modules/demux/ty.c
@@ -1894,6 +1894,7 @@ static int get_chunk_header(demux_t *p_d
     /*msg_Dbg( p_demux, "chunk has %d records", i_num_recs );*/
 
     free(p_sys->rec_hdrs);
+    p_sys->rec_hdrs = NULL;
 
     /* skip past the 4 bytes we "peeked" earlier */
     stream_Read( p_demux->s, NULL, 4 );