X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcngdec.c;h=482ef94a3289d987060dc3fe364c7a55fb2d7143;hb=4628443ca3534060888dd0015b229337eac13fd2;hp=a9b3ba0a757562847f54878c09a49c035fbf8326;hpb=759001c534287a96dc96d1e274665feb7059145d;p=ffmpeg diff --git a/libavcodec/cngdec.c b/libavcodec/cngdec.c index a9b3ba0a757..482ef94a328 100644 --- a/libavcodec/cngdec.c +++ b/libavcodec/cngdec.c @@ -159,6 +159,7 @@ static int cng_decode_frame(AVCodecContext *avctx, void *data, AVCodec ff_comfortnoise_decoder = { .name = "comfortnoise", + .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_COMFORT_NOISE, .priv_data_size = sizeof(CNGContext), @@ -166,8 +167,7 @@ AVCodec ff_comfortnoise_decoder = { .decode = cng_decode_frame, .flush = cng_decode_flush, .close = cng_decode_close, - .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, - .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, + .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1, };