X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ao_write.c;h=447dea84c00a468330fe8229bfd70b74292264bd;hp=92f62f8f87cf9bedd4a1b50942326f5e9ef2029c;hb=6e2812e8cb09f4e5d9d12b9d768d134b36c3dd17;hpb=938a5d68c9bbdf422119fc9bcca2549e24b9a4e0 diff --git a/ao_write.c b/ao_write.c index 92f62f8f..447dea84 100644 --- a/ao_write.c +++ b/ao_write.c @@ -87,7 +87,7 @@ static int aow_set_sample_format(unsigned sample_rate, unsigned channels, case SF_U8: case SF_U16_LE: case SF_U16_BE: - return -E_AO_BAD_SAMPLE_FORMAT; + return -E_BAD_SAMPLE_FORMAT; case SF_S8: /* no need to set byte_format */ result->bits = 8;