sys/dvb/camutils.c: Don't free the program descriptors, this structure containing them is stills tored after.

Original commit message from CVS:
* sys/dvb/camutils.c:
Don't free the program descriptors, this structure
containing them is stills tored after.
Fixes data corruption.
This commit is contained in:
Zaheer Abbas Merali 2008-02-27 19:41:13 +00:00
parent 4bf32cac7a
commit 1507ada865
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2008-02-27 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* sys/dvb/camutils.c:
Don't free the program descriptors, this structure
containing them is stills tored after.
Fixes data corruption.
2008-02-27 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* sys/dvb/camutils.c:

View file

@ -289,9 +289,6 @@ cam_build_ca_pmt (GstStructure * pmt, guint8 list_management, guint8 cmd_id,
body = write_ca_descriptors (body, program_descriptors);
}
if (program_descriptors)
g_value_array_free (program_descriptors);
for (i = 0; i < gst_value_list_get_size (streams); ++i) {
guint stream_type;
guint stream_pid;