From: Andre Noll Date: Mon, 22 Oct 2007 22:14:36 +0000 (+0200) Subject: vss.c: Use audio_format_name() where possible. X-Git-Tag: v0.3.0~266 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=a87b707988a472eded0546e83180af2c11ff931f;p=paraslash.git vss.c: Use audio_format_name() where possible. --- 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 */