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/g723_1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ffmpeg/libavcodec/g723_1.c') diff --git a/ffmpeg/libavcodec/g723_1.c b/ffmpeg/libavcodec/g723_1.c index 6254c9a..09da766 100644 --- a/ffmpeg/libavcodec/g723_1.c +++ b/ffmpeg/libavcodec/g723_1.c @@ -30,7 +30,6 @@ #include "libavutil/mem.h" #include "libavutil/opt.h" #include "avcodec.h" -#include "internal.h" #include "get_bits.h" #include "acelp_vectors.h" #include "celp_filters.h" @@ -1332,12 +1331,12 @@ static const AVClass g723_1dec_class = { AVCodec ff_g723_1_decoder = { .name = "g723_1", + .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_G723_1, .priv_data_size = sizeof(G723_1_Context), .init = g723_1_decode_init, .decode = g723_1_decode_frame, - .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1, .priv_class = &g723_1dec_class, }; @@ -2466,12 +2465,12 @@ static int g723_1_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, AVCodec ff_g723_1_encoder = { .name = "g723_1", + .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_G723_1, .priv_data_size = sizeof(G723_1_Context), .init = g723_1_encode_init, .encode2 = g723_1_encode_frame, - .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE}, }; -- cgit v1.2.3