mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
mpegts: pmt: Detect descriptor length correct
This commit is contained in:
parent
f1c8de4bc2
commit
603714a405
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue