aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-01-24 02:29:26 -0800
committerChris Robinson <[email protected]>2016-01-24 02:29:26 -0800
commit4fb252677958b1eb11327f5617f090afbdfb5a71 (patch)
treef9334c1b7c024696fb3691b12e9f27fa380d4088
parent5761aa9400ae6a4604ac1a81e582a4cd992933fc (diff)
Fix "signed and unsigned type in conditional expression" warning
-rw-r--r--examples/alffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alffplay.c b/examples/alffplay.c
index 17f6d3bc..ab67d216 100644
--- a/examples/alffplay.c
+++ b/examples/alffplay.c
@@ -686,7 +686,7 @@ static int audio_thread(void *userdata)
movState->audio.st->codec->sample_rate,
movState->audio.st->codec->channel_layout ?
movState->audio.st->codec->channel_layout :
- av_get_default_channel_layout(movState->audio.st->codec->channels),
+ (uint64_t)av_get_default_channel_layout(movState->audio.st->codec->channels),
movState->audio.st->codec->sample_fmt,
movState->audio.st->codec->sample_rate,
0, NULL