X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=check_wav.c;h=ab1c61887cc1ac3536dd8c364fdd0a9a1bd5cf7b;hp=12f44b5be4efb032ba6db054764d108b987cb58c;hb=37e0dfe7bf7737863c63e515e9ed06c2f479f5a3;hpb=216399fa29e2c071cd4485c57b6b1c9f4a74057b diff --git a/check_wav.c b/check_wav.c index 12f44b5b..ab1c6188 100644 --- a/check_wav.c +++ b/check_wav.c @@ -77,6 +77,13 @@ out: val = header_val; break; case CWS_NO_HEADER: + /* + * No wav header available and no value specified at + * the command line. Maybe one of our parent nodes + * knows. + */ + if (btr_exec_up(btr_parent(cwc->btrn), cmd, result) >= 0) + return 1; /* Use default value */ val = arg; break;