summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/filter/af_scaletempo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/filter/af_scaletempo.c b/audio/filter/af_scaletempo.c
index a4f055bee9..1f187a98bc 100644
--- a/audio/filter/af_scaletempo.c
+++ b/audio/filter/af_scaletempo.c
@@ -305,7 +305,7 @@ static int control(struct af_instance *af, int cmd, void *arg)
if (AF_FORMAT_IS_SPECIAL(data->format)) {
MP_ERR(af, "Changing speed is not supported with spdif formats.\n");
- return AF_DETACH;
+ return AF_ERROR;
}
mp_audio_force_interleaved_format(data);