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