mpegtsdemux: reset sync_lut_len to 0 on READY to NULL

This commit is contained in:
Josep Torra 2009-03-04 18:16:31 +00:00 committed by Zaheer Merali
parent 9b3c59ccde
commit ff1a6b4b22

View file

@ -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;