summaryrefslogtreecommitdiff
path: root/libavcodec/g722dec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-31 12:52:18 +0300
committerMartin Storsjö <martin@martin.st>2012-09-04 23:13:38 +0300
commitd58dd4b5b5d31cfd4092e38a5f2c894eee2ab078 (patch)
tree1ae54e270c0533eb8fd62bb8d3ebde4e9b737c34 /libavcodec/g722dec.c
parent124134e42455763b28cc346fed1d07017a76e84e (diff)
avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/g722dec.c')
-rw-r--r--libavcodec/g722dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c
index 0c08e074a9..ea06ce0913 100644
--- a/libavcodec/g722dec.c
+++ b/libavcodec/g722dec.c
@@ -42,7 +42,7 @@
#define OFFSET(x) offsetof(G722Context, x)
#define AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
static const AVOption options[] = {
- { "bits_per_codeword", "Bits per G722 codeword", OFFSET(bits_per_codeword), AV_OPT_TYPE_FLAGS, { 8 }, 6, 8, AD },
+ { "bits_per_codeword", "Bits per G722 codeword", OFFSET(bits_per_codeword), AV_OPT_TYPE_FLAGS, { .i64 = 8 }, 6, 8, AD },
{ NULL }
};