From 355480f408e88b69717b934bace4e5e69856ad23 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 29 Oct 2024 16:06:12 -0400 Subject: Cleanup, improve volume calculations Signed-off-by: Andrew Opalach --- src/codec/codec.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/codec') 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 #include #include #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) { -- cgit v1.2.3-101-g0448