projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
884c7a6
)
g722dec: Change bits_per_codeword to the right option type
author
Martin Storsjö
<martin@martin.st>
Sun, 27 Oct 2013 19:57:06 +0000
(21:57 +0200)
committer
Martin Storsjö
<martin@martin.st>
Mon, 28 Oct 2013 07:53:48 +0000
(09:53 +0200)
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>
libavcodec/g722dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/g722dec.c
b/libavcodec/g722dec.c
index
26aa6cf
..
26f288b
100644
(file)
--- 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 }
};