X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aacdec_filter.c;h=d48b18e03d729c5617455aa39eb5de91f0ea27ef;hp=9809552ccf1694f4a2f97d2fd955b08bd22b9e07;hb=bc8abdf149e4f26d20b5728e270063215da2f2c3;hpb=f42b5eccb6ec3364dc0500ffeffbe9d9ecab07bd diff --git a/aacdec_filter.c b/aacdec_filter.c index 9809552c..d48b18e0 100644 --- a/aacdec_filter.c +++ b/aacdec_filter.c @@ -62,13 +62,13 @@ static int aacdec_execute(struct btr_node *btrn, const char *cmd, char **result) if (!strcmp(cmd, "samplerate")) { if (padd->samplerate == 0) - return -ERRNO_TO_PARA_ERROR(ENAVAIL); + return -E_BTR_NAVAIL; *result = make_message("%u", padd->samplerate); return 1; } if (!strcmp(cmd, "channels")) { if (padd->channels == 0) - return -ERRNO_TO_PARA_ERROR(ENAVAIL); + return -E_BTR_NAVAIL; *result = make_message("%u", padd->channels); return 1; }