summaryrefslogtreecommitdiff
path: root/src/codec
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/codec.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/codec/codec.h b/src/codec/codec.h
index 09a1892..1c7c21f 100644
--- a/src/codec/codec.h
+++ b/src/codec/codec.h
@@ -233,8 +233,6 @@ struct camu_scaler {
void (*free)(struct camu_scaler **);
};
-AL_UNUSED_FUNCTION_PUSH
-
static inline bool camu_resampler_format_matches(struct camu_resampler_format *fmt)
{
return fmt->in.format == fmt->req.format
@@ -255,7 +253,7 @@ static inline void camu_audio_format_copy(struct camu_audio_format *dest, struct
dest->channel_count = src->channel_count;
}
-static const char *camu_audio_format_name(s32 format)
+static inline const char *camu_audio_format_name(s32 format)
{
#ifdef CAMU_HAVE_FFMPEG
return av_get_sample_fmt_name(format);
@@ -335,7 +333,7 @@ static inline void camu_video_format_copy(struct camu_video_format *dest, struct
dest->format = src->format;
}
-static const char *camu_pixel_format_name(s32 format)
+static inline const char *camu_pixel_format_name(s32 format)
{
#ifdef CAMU_HAVE_FFMPEG
return av_get_pix_fmt_name(format);
@@ -369,5 +367,3 @@ static inline void camu_codec_frame_discard(struct camu_codec_frame *frame)
if (frame->mode == CAMU_NORMAL && frame->data) al_free(frame->data);
al_free(frame);
}
-
-AL_UNUSED_FUNCTION_POP