diff options
Diffstat (limited to 'ffmpeg/libavcodec/g722dec.c')
| -rw-r--r-- | ffmpeg/libavcodec/g722dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/libavcodec/g722dec.c b/ffmpeg/libavcodec/g722dec.c index 1a489a7..470fbbf 100644 --- a/ffmpeg/libavcodec/g722dec.c +++ b/ffmpeg/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 } }; @@ -138,12 +138,12 @@ static int g722_decode_frame(AVCodecContext *avctx, void *data, AVCodec ff_adpcm_g722_decoder = { .name = "g722", + .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_ADPCM_G722, .priv_data_size = sizeof(G722Context), .init = g722_decode_init, .decode = g722_decode_frame, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), .priv_class = &g722_decoder_class, }; |
