libeplayer3-arm: reduce compiler warnings

This commit is contained in:
max_10
2018-02-08 20:42:15 +01:00
committed by Thilo Graf
parent 0bd3f48ff2
commit e5d24ce4ed
22 changed files with 105 additions and 87 deletions

View File

@@ -32,12 +32,11 @@
#ifdef SAM_WITH_DEBUG
#define PLAYBACK_DEBUG
static short debug_level = 20;
#else
#define PLAYBACK_SILENT
#endif
static short debug_level = 20;
#ifdef PLAYBACK_DEBUG
#define playback_printf(level, fmt, x...) do { \
if (debug_level >= level) printf("[%s:%s] " fmt, __FILE__, __FUNCTION__, ## x); } while (0)
@@ -560,7 +559,7 @@ static int32_t PlaybackPts(Context_t *context, int64_t *pts)
return ret;
}
static int32_t PlaybackGetFrameCount(Context_t *context, int64_t *frameCount)
static int32_t PlaybackGetFrameCount(Context_t *context, uint64_t *frameCount)
{
int ret = cERR_PLAYBACK_NO_ERROR;
playback_printf(20, "\n");