mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
fix crasher
Original commit message from CVS: fix crasher
This commit is contained in:
parent
d4e4077b6f
commit
14b7f6edf3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue