diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-14 14:33:27 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-14 14:33:27 +0000 |
commit | 4219829c50fcc2cf885553df6ee69ce5aee5965b (patch) | |
tree | b9355ca884c4cd0670151c7c382fbf1ab9127f63 /gst/dvdspu | |
parent | 8ede0678be4921abd03bca7d68afb52844c7b8fa (diff) | |
download | gst-plugins-bad-4219829c50fcc2cf885553df6ee69ce5aee5965b.tar.gz gst-plugins-bad-4219829c50fcc2cf885553df6ee69ce5aee5965b.tar.bz2 gst-plugins-bad-4219829c50fcc2cf885553df6ee69ce5aee5965b.zip |
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.
Diffstat (limited to 'gst/dvdspu')
-rw-r--r-- | gst/dvdspu/gstdvdspu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index ce799dbb..45b24d4f 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.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; |