diff options
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_alsa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c index 0c40146843..ee4d5d9051 100644 --- a/libao2/ao_alsa.c +++ b/libao2/ao_alsa.c @@ -83,7 +83,6 @@ static void alsa_error_handler(const char *file, int line, const char *function, va_start(va, format); vsnprintf(tmp, sizeof tmp, format, va); va_end(va); - tmp[sizeof tmp - 1] = '\0'; if (err) mp_msg(MSGT_AO, MSGL_ERR, "[AO_ALSA] alsa-lib: %s:%i:(%s) %s: %s\n", |