mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
rtpdec: Make variables that should wrap unsigned
This makes the behaviour defined when they wrap around. The value assigned to expected_prior was a uint32_t already. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
ba0c72a9ae
commit
d596f2b322
@ -83,9 +83,9 @@ typedef struct RTPStatistics {
|
||||
uint32_t base_seq; ///< base sequence number
|
||||
uint32_t bad_seq; ///< last bad sequence number + 1
|
||||
int probation; ///< sequence packets till source is valid
|
||||
int received; ///< packets received
|
||||
int expected_prior; ///< packets expected in last interval
|
||||
int received_prior; ///< packets received in last interval
|
||||
uint32_t received; ///< packets received
|
||||
uint32_t expected_prior; ///< packets expected in last interval
|
||||
uint32_t received_prior; ///< packets received in last interval
|
||||
uint32_t transit; ///< relative transit time for previous packet
|
||||
uint32_t jitter; ///< estimated jitter.
|
||||
} RTPStatistics;
|
||||
|
Loading…
Reference in New Issue
Block a user