From 12c2be31603eaf83d19797c625bef54ad56e4433 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 13 May 2006 22:26:55 +0200 Subject: [PATCH] fix audiod decoder flags for aac Do not try to encode the audio format in a single digit. Just use 0: off 1: receiver activated 2: writer started 3: receiver activated and writer is running regardless of the audio format. --- audiod.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/audiod.c b/audiod.c index bd87cf87..00cdf345 100644 --- a/audiod.c +++ b/audiod.c @@ -368,8 +368,6 @@ __malloc static char *decoder_flags(void) flag += 1; if (s->wpid > 0) flag += 2; - if (flag != '0') - flag += s->format * 4; decoder_flags[i] = flag; } decoder_flags[MAX_STREAM_SLOTS] = '\0'; -- 2.39.5