gst/matroska/matroska-demux.c: Fix possible crasher.
Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup): Fix possible crasher.
This commit is contained in:
parent
59726ae2df
commit
d209b3de10
@ -1,3 +1,9 @@
|
|||||||
|
2004-12-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* gst/matroska/matroska-demux.c:
|
||||||
|
(gst_matroska_demux_parse_blockgroup):
|
||||||
|
Fix possible crasher.
|
||||||
|
|
||||||
2004-12-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
2004-12-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_uint),
|
* gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_uint),
|
||||||
|
@ -1884,6 +1884,7 @@ gst_matroska_demux_parse_blockgroup (GstMatroskaDemux * demux,
|
|||||||
lace_size[n] = lace_size[n - 1] + snum;
|
lace_size[n] = lace_size[n - 1] + snum;
|
||||||
total += lace_size[n];
|
total += lace_size[n];
|
||||||
}
|
}
|
||||||
|
if (n < laces)
|
||||||
lace_size[n] = size - total;
|
lace_size[n] = size - total;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user