X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=oggdec_filter.c;h=f14d97c13dec8c2c3fe6660aadb5d7b6d3d2c328;hb=621873570519f6536440a2407224cf17ec2141e8;hp=bac28cfdee77d5a9d48d343fc7f208111f437991;hpb=f42b5eccb6ec3364dc0500ffeffbe9d9ecab07bd;p=paraslash.git diff --git a/oggdec_filter.c b/oggdec_filter.c index bac28cfd..f14d97c1 100644 --- a/oggdec_filter.c +++ b/oggdec_filter.c @@ -125,13 +125,13 @@ static int oggdec_execute(struct btr_node *btrn, const char *cmd, char **result) if (!strcmp(cmd, "samplerate")) { if (pod->samplerate == 0) - return -ERRNO_TO_PARA_ERROR(ENAVAIL); + return -E_BTR_NAVAIL; *result = make_message("%u", pod->samplerate); return 1; } if (!strcmp(cmd, "channels")) { if (pod->channels == 0) - return -ERRNO_TO_PARA_ERROR(ENAVAIL); + return -E_BTR_NAVAIL; *result = make_message("%u", pod->channels); return 1; }