Browse Source

MT#55283 fix ISO C90 warning

Change-Id: Ide6c6beac20f0edea798ca2404b9aba9e61df353
(cherry picked from commit 4f54910f91)
mr12.5
Richard Fuchs 1 year ago
parent
commit
f4ca512c77
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      kernel-module/xt_RTPENGINE.c

+ 4
- 2
kernel-module/xt_RTPENGINE.c View File

@ -6164,12 +6164,14 @@ static void rtp_stats(struct rtpengine_target *g, struct rtp_parsed *rtp, s64 ar
uint32_t transit;
int32_t d;
uint32_t new_seq;
uint16_t seq;
uint32_t ts;
if (!s)
return;
uint16_t seq = ntohs(rtp->rtp_header->seq_num);
uint32_t ts = ntohl(rtp->rtp_header->timestamp);
seq = ntohs(rtp->rtp_header->seq_num);
ts = ntohl(rtp->rtp_header->timestamp);
atomic64_inc(&s->packets);
atomic64_add(rtp->payload_len, &s->bytes);


Loading…
Cancel
Save