mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
gst/dvdspu/gstdvdspu.c: Set n_line_ctrl_i to 0 whenever we free line_ctrl_i. Patch based on an idea by Jan Schmidt, f...
Original commit message from CVS: * gst/dvdspu/gstdvdspu.c: (gst_dvd_spu_handle_new_spu_buf): Set n_line_ctrl_i to 0 whenever we free line_ctrl_i. Patch based on an idea by Jan Schmidt, fixes bug #516436.
This commit is contained in:
parent
8ede0678be
commit
4219829c50
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-02-14 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/dvdspu/gstdvdspu.c: (gst_dvd_spu_handle_new_spu_buf):
|
||||
Set n_line_ctrl_i to 0 whenever we free line_ctrl_i. Patch based
|
||||
on an idea by Jan Schmidt, fixes bug #516436.
|
||||
|
||||
2008-02-14 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||
|
||||
* gst/mpegtsparse/gstmpegdesc.c:
|
||||
|
|
|
@ -900,6 +900,7 @@ gst_dvd_spu_handle_new_spu_buf (GstDVDSpu * dvdspu, SpuPacket * packet)
|
|||
state->cur_cmd_blk = GST_READ_UINT16_BE (start + 2);
|
||||
gst_dvd_spu_setup_cmd_blk (dvdspu, state->cur_cmd_blk, start, end);
|
||||
/* Clear existing chg-colcon info */
|
||||
state->n_line_ctrl_i = 0;
|
||||
if (state->line_ctrl_i != NULL) {
|
||||
g_free (state->line_ctrl_i);
|
||||
state->line_ctrl_i = NULL;
|
||||
|
|
Loading…
Reference in a new issue