Browse Source

MT#63317 remove unused struct member

Change-Id: I2e0fa7ad49e8e0280bc2c7b1b305fcc7d6c8c5e8
rfuchs/mixed-fix
Richard Fuchs 3 months ago
parent
commit
61103a2ac5
3 changed files with 0 additions and 4 deletions
  1. +0
    -1
      daemon/call.c
  2. +0
    -2
      daemon/media_socket.c
  3. +0
    -1
      include/media_socket.h

+ 0
- 1
daemon/call.c View File

@ -1287,7 +1287,6 @@ void free_sink_handler(struct sink_handler *sh) {
void __add_sink_handler(sink_handler_q *q, struct packet_stream *sink, const struct sink_attrs *attrs) {
struct sink_handler *sh = g_new0(__typeof(*sh), 1);
sh->sink = sink;
sh->kernel_output_idx = -1;
if (attrs)
sh->attrs = *attrs;
t_queue_push_tail(q, sh);


+ 0
- 2
daemon/media_socket.c View File

@ -1739,7 +1739,6 @@ static const char *kernelize_one(kernelize_state *s,
if (MEDIA_ISSET(sink->media, BLOCK_EGRESS))
return NULL;
sink_handler->kernel_output_idx = -1;
if (!sink->endpoint.address.family)
return NULL;
@ -1848,7 +1847,6 @@ static const char *kernelize_one(kernelize_state *s,
// got a new output
redi->num = reti->num_destinations;
reti->num_destinations++;
sink_handler->kernel_output_idx = redi->num;
t_queue_push_tail(&s->outputs, redi);
assert(s->outputs.length == reti->num_destinations);


+ 0
- 1
include/media_socket.h View File

@ -268,7 +268,6 @@ struct rtpext_printer {
struct sink_handler {
struct packet_stream *sink;
const struct streamhandler *handler;
int kernel_output_idx;
struct sink_attrs attrs;
const struct rtpext_printer *rtpext;
};


Loading…
Cancel
Save