Commit 6af38c6f authored by Kyrylo Polezhaiev's avatar Kyrylo Polezhaiev Committed by Sebastian Dröge

tsmux: Fix copying of buffer region

parent 842bd66b
Pipeline #79953 passed with stages
in 72 minutes and 55 seconds
......@@ -1082,6 +1082,8 @@ tsmux_section_write_packet (gpointer unused_arg,
payload_len) >= 4) {
/* enough space */
extra_alloc_bytes = 4;
} else {
extra_alloc_bytes = 0;
}
packet_buffer = gst_buffer_copy_region (section_buffer, GST_BUFFER_COPY_ALL,
payload_written, payload_len + extra_alloc_bytes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment