Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts network: update orbital position
  • Loading branch information
perexg committed Nov 16, 2016
1 parent 879d532 commit 182add8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input/mpegts/mpegts_network_dvb.c
Expand Up @@ -724,6 +724,7 @@ dvb_network_create_mux
dvb_network_check_orbital_pos(tuning_new.u.dmc_fe_qpsk.orbital_pos,
dmc->u.dmc_fe_qpsk.orbital_pos))
save |= COMPARE(u.dmc_fe_qpsk.orbital_pos, CBIT_ORBITAL_POS);
tuning_new.u.dmc_fe_qpsk.orbital_pos = dmc->u.dmc_fe_qpsk.orbital_pos;
}
/* Do not change anything else without autodiscovery flag */
if (!ln->mn_autodiscovery)
Expand Down

1 comment on commit 182add8

@connaisseur
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Perex,

this fails to compile:

src/input/mpegts/mpegts_network_dvb.c: In function ‘dvb_network_create_mux’:
src/input/mpegts/mpegts_network_dvb.c:723:7: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
       if (tuning_new.u.dmc_fe_qpsk.orbital_pos == INT_MAX ||
       ^~
src/input/mpegts/mpegts_network_dvb.c:727:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
         tuning_new.u.dmc_fe_qpsk.orbital_pos = dmc->u.dmc_fe_qpsk.orbital_pos;
         ^~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:628: /home/volker/builds/tvheadend-git/src/tvheadend/build.linux/src/input/mpegts/mpegts_network_dvb.o] Error 1

Compiler used: gcc (GCC) 6.2.1 20160830 on Archlinux 4.8.7-1-ARCH x86_64

Could you please revise it (i.e. bracketing, etc.)?

CU,
--connaisseur

Please sign in to comment.