summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux/gstmpegtsdemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpegdemux/gstmpegtsdemux.c')
-rw-r--r--gst/mpegdemux/gstmpegtsdemux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c
index 8d047cf4..59b51a3a 100644
--- a/gst/mpegdemux/gstmpegtsdemux.c
+++ b/gst/mpegdemux/gstmpegtsdemux.c
@@ -2622,6 +2622,7 @@ gst_mpegts_demux_change_state (GstElement * element, GstStateChange transition)
if (demux->sync_lut)
g_free (demux->sync_lut);
demux->sync_lut = NULL;
+ demux->sync_lut_len = 0;
break;
default:
break;