aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_thread.c')
-rw-r--r--src/output_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_thread.c b/src/output_thread.c
index 2640adfbd..91fd8d406 100644
--- a/src/output_thread.c
+++ b/src/output_thread.c
@@ -58,7 +58,7 @@ static void ao_play(struct audio_output *ao)
size_t size = ao->args.play.size;
assert(size > 0);
- assert(size % audio_format_frame_size(&ao->out_audio_format) == 0);
+ assert(size % audio_format_frame_size(&ao->in_audio_format) == 0);
if (!audio_format_equals(&ao->in_audio_format, &ao->out_audio_format)) {
data = pcm_convert(&ao->convert_state,