From a87b707988a472eded0546e83180af2c11ff931f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 23 Oct 2007 00:14:36 +0200 Subject: [PATCH] vss.c: Use audio_format_name() where possible. --- vss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vss.c b/vss.c index 5415929b..5d919f73 100644 --- a/vss.c +++ b/vss.c @@ -183,7 +183,7 @@ void vss_init(void) SUPPORTED_AUDIO_FORMATS); FOR_EACH_AUDIO_FORMAT(i) { PARA_NOTICE_LOG("initializing %s handler\n", - afl[i].name); + audio_format_name(i)); afl[i].init(&afl[i]); } ms2tv(announce_time, &announce_tv); @@ -322,7 +322,7 @@ static struct timeval *vss_compute_timeout(void) if (mmd->audio_format < 0 || !vss_playing() || !map) return NULL; vss_next_chunk_time(&next_chunk); - if (chk_barrier(afl[mmd->audio_format].name, &now, &next_chunk, + if (chk_barrier(audio_format_name(mmd->audio_format), &now, &next_chunk, &the_timeout, 0) < 0) return &the_timeout; /* chunk is due or bof */ -- 2.39.2