summaryrefslogtreecommitdiff
path: root/src/codec
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/codec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/codec/codec.h b/src/codec/codec.h
index 68f45f6..6fd42e9 100644
--- a/src/codec/codec.h
+++ b/src/codec/codec.h
@@ -1,6 +1,5 @@
#pragma once
-#include <al/types.h>
#include <al/array.h>
#include <aki/common.h>
#ifdef CAMU_HAVE_FFMPEG
@@ -243,7 +242,7 @@ static const char *camu_audio_format_name(s32 format)
static inline s32 camu_audio_format_bytes_per_sample(struct camu_audio_format *fmt)
{
-#if CAMU_HAVE_FFMPEG
+#ifdef CAMU_HAVE_FFMPEG
return av_get_bytes_per_sample(fmt->format);
#else
switch (fmt->format) {