From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavcodec/libvo-amrwbenc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ffmpeg/libavcodec/libvo-amrwbenc.c') diff --git a/ffmpeg/libavcodec/libvo-amrwbenc.c b/ffmpeg/libavcodec/libvo-amrwbenc.c index a068cd0..4216a41 100644 --- a/ffmpeg/libavcodec/libvo-amrwbenc.c +++ b/ffmpeg/libavcodec/libvo-amrwbenc.c @@ -45,7 +45,7 @@ static const AVOption options[] = { { NULL } }; -static const AVClass class = { +static const AVClass amrwb_class = { "libvo_amrwbenc", av_default_item_name, options, LIBAVUTIL_VERSION_INT }; @@ -138,6 +138,8 @@ static int amr_wb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, AVCodec ff_libvo_amrwbenc_encoder = { .name = "libvo_amrwbenc", + .long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AMR-WB " + "(Adaptive Multi-Rate Wide-Band)"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_AMR_WB, .priv_data_size = sizeof(AMRWBContext), @@ -146,7 +148,5 @@ AVCodec ff_libvo_amrwbenc_encoder = { .close = amr_wb_encode_close, .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, - .long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AMR-WB " - "(Adaptive Multi-Rate Wide-Band)"), - .priv_class = &class, + .priv_class = &amrwb_class, }; -- cgit v1.2.3