_parse_eit (GstMpegtsSection * section)
{
GstMpegtsEIT *eit = NULL;
- guint i = 0, allocated_events = 12;
+ guint allocated_events = 12;
guint8 *data, *end, *duration_ptr;
guint16 descriptors_loop_length;
if (event->descriptors == NULL)
goto error;
data += descriptors_loop_length;
-
- i += 1;
}
if (data != end - 4) {
_parse_bat (GstMpegtsSection * section)
{
GstMpegtsBAT *bat = NULL;
- guint i = 0, allocated_streams = 12;
+ guint allocated_streams = 12;
guint8 *data, *end, *entry_begin;
guint16 descriptors_loop_length, transport_stream_loop_length;
data += descriptors_loop_length;
- i += 1;
transport_stream_loop_length -= data - entry_begin;
}
_parse_nit (GstMpegtsSection * section)
{
GstMpegtsNIT *nit = NULL;
- guint i = 0, allocated_streams = 12;
+ guint allocated_streams = 12;
guint8 *data, *end, *entry_begin;
guint16 descriptors_loop_length, transport_stream_loop_length;
data += descriptors_loop_length;
- i += 1;
transport_stream_loop_length -= data - entry_begin;
}
_parse_sdt (GstMpegtsSection * section)
{
GstMpegtsSDT *sdt = NULL;
- guint i = 0, allocated_services = 8;
+ guint allocated_services = 8;
guint8 *data, *end, *entry_begin;
guint tmp;
guint sdt_info_length;
data += descriptors_loop_length;
sdt_info_length -= data - entry_begin;
- i += 1;
}
if (data != end - 4) {
_parse_sit (GstMpegtsSection * section)
{
GstMpegtsSIT *sit = NULL;
- guint i = 0, allocated_services = 8;
+ guint allocated_services = 8;
guint8 *data, *end, *entry_begin;
guint sit_info_length;
guint descriptors_loop_length;
data += descriptors_loop_length;
sit_info_length -= data - entry_begin;
- i += 1;
}
if (data != end - 4) {