initial
This commit is contained in:
17
main.c
Normal file
17
main.c
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "sstv.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
if (argc < 3) {
|
||||
printf("Usage: %s input_image output.wav\n", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!sstv_encode_robot36(argv[1], argv[2])) {
|
||||
printf("Encoding failed\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
printf("Done.\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user