Mercurial > mplayer.hg
comparison libvo/vo_v4l2.c @ 28828:56eee6ffba9b
Make data related to suboption parsing const in libvo
author | reimar |
---|---|
date | Sat, 07 Mar 2009 08:51:40 +0000 |
parents | 2a34d9fa52ab |
children | 0f1b5b68af32 |
comparison
equal
deleted
inserted
replaced
28827:2b021e3e1000 | 28828:56eee6ffba9b |
---|---|
51 | 51 |
52 /* suboptions */ | 52 /* suboptions */ |
53 static int output = -1; | 53 static int output = -1; |
54 static char *device = NULL; | 54 static char *device = NULL; |
55 | 55 |
56 static opt_t subopts[] = { | 56 static const opt_t subopts[] = { |
57 {"output", OPT_ARG_INT, &output, (opt_test_f)int_non_neg}, | 57 {"output", OPT_ARG_INT, &output, (opt_test_f)int_non_neg}, |
58 {"device", OPT_ARG_MSTRZ, &device, NULL}, | 58 {"device", OPT_ARG_MSTRZ, &device, NULL}, |
59 {NULL} | 59 {NULL} |
60 }; | 60 }; |
61 | 61 |