aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/g722dec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-10-27 21:57:06 +0200
committerMartin Storsjö <martin@martin.st>2013-10-28 09:53:48 +0200
commitf2521563d1a0c3e2a21892f59f3327b82b3db7fc (patch)
tree7d9598d69c03fdc038965f04aedcc63912b92995 /libavcodec/g722dec.c
parent884c7a6eb86a9bc05abafc058b279018ded7de5f (diff)
downloadffmpeg-f2521563d1a0c3e2a21892f59f3327b82b3db7fc.tar.gz
g722dec: Change bits_per_codeword to the right option type
This isn't a set of flags but just a plain integer in the range 6-8. 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 26aa6cfb91..26f288b721 100644
--- a/libavcodec/g722dec.c
+++ b/libavcodec/g722dec.c
@@ -44,7 +44,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, { .i64 = 8 }, 6, 8, AD },
+ { "bits_per_codeword", "Bits per G722 codeword", OFFSET(bits_per_codeword), AV_OPT_TYPE_INT, { .i64 = 8 }, 6, 8, AD },
{ NULL }
};