X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=oggdec_filter.c;h=f14d97c13dec8c2c3fe6660aadb5d7b6d3d2c328;hb=66458ba8142c2a1aa92385bd1466309915d1dd90;hp=bac28cfdee77d5a9d48d343fc7f208111f437991;hpb=d9d83772fbee853857f1904fa6553f06a026108c;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; }