From 97ff1c6a2c1f20a4e9e1e05c7b0a7cb592827802 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sun, 24 Aug 2014 16:27:44 +0100 Subject: [PATCH] Change definition of seq_diff to bring it into player.c --- player.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/player.h b/player.h index 12563bfe..35383590 100644 --- a/player.h +++ b/player.h @@ -11,10 +11,7 @@ typedef struct { typedef uint16_t seq_t; // wrapped number between two seq_t. -static inline uint16_t seq_diff(seq_t a, seq_t b) { - int16_t diff = b - a; - return diff; -} +inline int32_t seq_diff(seq_t a, seq_t b); int player_play(stream_cfg *cfg); void player_stop(void);