Mercurial > hg > forks > libbpg
comparison bpgenc.c @ 16:86b6c976ef2d
Fix some warnings by adding missing field initializers for long opts.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 26 Apr 2017 18:19:18 +0300 |
parents | 29527d65b71a |
children | 91f27e9fdb60 |
comparison
equal
deleted
inserted
replaced
15:29527d65b71a | 16:86b6c976ef2d |
---|---|
2928 | 2928 |
2929 exit(1); | 2929 exit(1); |
2930 } | 2930 } |
2931 | 2931 |
2932 struct option long_opts[] = { | 2932 struct option long_opts[] = { |
2933 { "hash", no_argument }, | 2933 { "hash" , no_argument , NULL, 0 }, |
2934 { "keepmetadata", no_argument }, | 2934 { "keepmetadata" , no_argument , NULL, 0 }, |
2935 { "alphaq", required_argument }, | 2935 { "alphaq" , required_argument , NULL, 0 }, |
2936 { "lossless", no_argument }, | 2936 { "lossless" , no_argument , NULL, 0 }, |
2937 { "limitedrange", no_argument }, | 2937 { "limitedrange" , no_argument , NULL, 0 }, |
2938 { "premul", no_argument }, | 2938 { "premul" , no_argument , NULL, 0 }, |
2939 { "loop", required_argument }, | 2939 { "loop" , required_argument , NULL, 0 }, |
2940 { "fps", required_argument }, | 2940 { "fps" , required_argument , NULL, 0 }, |
2941 { "delayfile", required_argument }, | 2941 { "delayfile" , required_argument , NULL, 0 }, |
2942 { NULL }, | 2942 { NULL , 0 , NULL, 0 }, |
2943 }; | 2943 }; |
2944 | 2944 |
2945 int main(int argc, char **argv) | 2945 int main(int argc, char **argv) |
2946 { | 2946 { |
2947 const char *infilename, *outfilename, *frame_delay_file; | 2947 const char *infilename, *outfilename, *frame_delay_file; |