fix crasher

Original commit message from CVS:
fix crasher
This commit is contained in:
Benjamin Otte 2003-12-03 02:45:13 +00:00
parent d4e4077b6f
commit 14b7f6edf3

View file

@ -448,7 +448,7 @@ gst_asf_demux_process_segment (GstASFDemux *asf_demux,
if (replic_size > 1) { if (replic_size > 1) {
asf_replicated_data *replicated_data_header; asf_replicated_data *replicated_data_header;
guint8 **replicated_data = NULL; guint8 *replicated_data = NULL;
guint8 *ptr; guint8 *ptr;
segment_info.compressed = FALSE; segment_info.compressed = FALSE;
@ -464,7 +464,7 @@ gst_asf_demux_process_segment (GstASFDemux *asf_demux,
segment_info.segment_size = GUINT32_FROM_LE (replicated_data_header->object_size); segment_info.segment_size = GUINT32_FROM_LE (replicated_data_header->object_size);
if (replic_size > 8) { if (replic_size > 8) {
gst_asf_demux_read_object_header_rest (asf_demux, replicated_data, replic_size - 8); gst_asf_demux_read_object_header_rest (asf_demux, &replicated_data, replic_size - 8);
} }
rsize += replic_size; rsize += replic_size;