diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2011-10-18 18:50:27 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-10-18 18:52:50 +0200 |
commit | 2b72067406e565fdafc5861f5db10815b52cc6bb (patch) | |
tree | 0be86d73092fa34451d74c4ce5ce2fd99abd21d1 /libavfilter | |
parent | 3f20eada8018c170ced57512b42cbcc35043192c (diff) | |
download | ffmpeg-2b72067406e565fdafc5861f5db10815b52cc6bb.tar.gz |
asrc_aevalsrc: apply misc cleanup in the options array
Prefer AV_OPT_* over FF_OPT, vertically align fields.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/asrc_aevalsrc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c index e430493a08..c59617e4e4 100644 --- a/libavfilter/asrc_aevalsrc.c +++ b/libavfilter/asrc_aevalsrc.c @@ -62,10 +62,10 @@ typedef struct { #define OFFSET(x) offsetof(EvalContext, x) static const AVOption eval_options[]= { - { "nb_samples", "set the number of samples per requested frame", OFFSET(nb_samples), FF_OPT_TYPE_INT, {.dbl = 1024}, 0, INT_MAX }, - { "n", "set the number of samples per requested frame", OFFSET(nb_samples), FF_OPT_TYPE_INT, {.dbl = 1024}, 0, INT_MAX }, - { "sample_rate", "set the sample rate", OFFSET(sample_rate_str), FF_OPT_TYPE_STRING, {.str = "44100"}, 0, INT_MAX }, - { "s", "set the sample rate", OFFSET(sample_rate_str), FF_OPT_TYPE_STRING, {.str = "44100"}, 0, INT_MAX }, + { "nb_samples", "set the number of samples per requested frame", OFFSET(nb_samples), AV_OPT_TYPE_INT, {.dbl = 1024}, 0, INT_MAX }, + { "n", "set the number of samples per requested frame", OFFSET(nb_samples), AV_OPT_TYPE_INT, {.dbl = 1024}, 0, INT_MAX }, + { "sample_rate", "set the sample rate", OFFSET(sample_rate_str), AV_OPT_TYPE_STRING, {.str = "44100"}, CHAR_MIN, CHAR_MAX }, + { "s", "set the sample rate", OFFSET(sample_rate_str), AV_OPT_TYPE_STRING, {.str = "44100"}, CHAR_MIN, CHAR_MAX }, {NULL}, }; |