X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/38fb8a1d547de6d09137d076baffa94505335f96..0bee5a3fe54f7164e00ed05a1106f18db499bff9:/examples/am7xxx-play.c?ds=sidebyside 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);