mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-15 20:58:57 +00:00
ccutils: Remove broken branch
This branch was added in dd00dab5e9
but is
never actually taken, as it requires `cc_data` to be null but
`cc_data_len` to be non-null. It would then dereference the null
`cc_data`.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7967>
This commit is contained in:
parent
5a6594dea5
commit
3a119b20b3
1 changed files with 0 additions and 10 deletions
|
@ -921,16 +921,6 @@ cc_buffer_take_separated (CCBuffer * buf,
|
|||
}
|
||||
}
|
||||
*cc_data_len = write_ccp_size + ccp_padding;
|
||||
} else if (buf->output_padding) {
|
||||
guint i;
|
||||
guint padding = 3 * fps_entry->max_ccp_count;
|
||||
for (i = 0; i < padding; i += 3) {
|
||||
cc_data[i + write_ccp_size] = 0xfa;
|
||||
cc_data[i + 1 + write_ccp_size] = 0x00;
|
||||
cc_data[i + 2 + write_ccp_size] = 0x00;
|
||||
}
|
||||
GST_TRACE_OBJECT (buf, "outputting only %u padding bytes", padding);
|
||||
*cc_data_len = padding;
|
||||
} else {
|
||||
*cc_data_len = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue