projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: update the list of supported devices
[libam7xxx.git]
/
examples
/
am7xxx-play.c
diff --git
a/examples/am7xxx-play.c
b/examples/am7xxx-play.c
index
352ba2f
..
324ed89
100644
(file)
--- 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':
input_path = strdup(optarg);
break;
case 'o':
+#ifdef HAVE_STRTOK_R
/*
* parse suboptions, the expected format is something
* like:
/*
* 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);
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);
break;
case 's':
rescale_method = atoi(optarg);