mpegts: pmt: Detect descriptor length correct
This commit is contained in:
parent
f1c8de4bc2
commit
603714a405
@ -827,7 +827,7 @@ _packetize_pmt (GstMpegTsSection * section)
|
||||
|
||||
if (stream->descriptors) {
|
||||
for (j = 0; j < stream->descriptors->len; j++) {
|
||||
descriptor = g_ptr_array_index (stream->descriptors, i);
|
||||
descriptor = g_ptr_array_index (stream->descriptors, j);
|
||||
stream_length += descriptor->length + 2;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user