summaryrefslogtreecommitdiffstats
path: root/audio/aframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/aframe.c')
-rw-r--r--audio/aframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/aframe.c b/audio/aframe.c
index cb6ea17be3..03e8ab8ae8 100644
--- a/audio/aframe.c
+++ b/audio/aframe.c
@@ -600,7 +600,7 @@ bool mp_aframe_set_silence(struct mp_aframe *f, int offset, int samples)
bool mp_aframe_reverse(struct mp_aframe *f)
{
int format = mp_aframe_get_format(f);
- size_t bps = af_fmt_to_bytes(format);
+ int bps = af_fmt_to_bytes(format);
if (!af_fmt_is_pcm(format) || bps > 16)
return false;