Skip to content

Commit

Permalink
Increase the storage of the satip string #1132
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalin Toda committed Dec 27, 2023
1 parent 1934b36 commit 662531a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/satipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ typedef struct struct_satipc {
char static_config;
int num_describe;
int timeout_ms;
SHashTable requests;
// Bit Fields
unsigned int
rtsp_socket_closed : 1; // is set when the adapter was closed
Expand Down Expand Up @@ -1555,10 +1554,7 @@ fe_delivery_system_t satipc_delsys(int aid, int fd, fe_delivery_system_t *sys) {
return 0;
}

void satipc_free(adapter *ad) {
satipc *sip = satip[ad->id];
free_hash(&sip->requests);
}
void satipc_free(adapter *ad) {}

int add_satip_server(char *host, int port, int fe, char delsys, char *source_ip,
int use_tcp, int no_pids_all) {
Expand Down Expand Up @@ -1624,7 +1620,6 @@ int add_satip_server(char *host, int port, int fe, char delsys, char *source_ip,
sip->tcp_data = NULL;
sip->use_tcp = use_tcp;
sip->no_pids_all = no_pids_all;
create_hash_table(&sip->requests, 10);

if (i + 1 > a_count)
a_count = i + 1; // update adapter counter
Expand Down
2 changes: 1 addition & 1 deletion src/satipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "adapter.h"

#define SATIP_STR_LEN 500
#define SATIP_STR_LEN 5000
#define SATIP_MAX_STRENGTH 255
#define SATIP_MAX_QUALITY 15

Expand Down

0 comments on commit 662531a

Please sign in to comment.