X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/38fb8a1d547de6d09137d076baffa94505335f96..43e254e83852e9ca46969cffa40cbb1fcb2936c3:/examples/am7xxx-play.c?ds=inline diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index 352ba2f..324ed89 100644 --- a/examples/am7xxx-play.c +++ b/examples/am7xxx-play.c @@ -632,6 +632,7 @@ int main(int argc, char *argv[]) input_path = strdup(optarg); break; case 'o': +#ifdef HAVE_STRTOK_R /* * parse suboptions, the expected format is something * like: @@ -648,6 +649,9 @@ int main(int argc, char *argv[]) av_dict_set(&options, subopt_name, subopt_value, 0); } free(subopts_saved); +#else + fprintf(stderr, "Option '-o' not implemented\n"); +#endif break; case 's': rescale_method = atoi(optarg);