]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cngenc.c
lavc: AV-prefix all codec flags
[ffmpeg] / libavcodec / cngenc.c
index 1e3f8f0c8d912d7cb38594d9de40372307252e05..98f3c4e91a8aab39f3179f375427460be718fdfa 100644 (file)
@@ -67,7 +67,7 @@ static av_cold int cng_encode_init(AVCodecContext *avctx)
 }
 
 static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
-                             const AVFrame *frame, int *got_packet_ptr)
+                            const AVFrame *frame, int *got_packet_ptr)
 {
     CNGContext *p = avctx->priv_data;
     int ret, i;
@@ -104,13 +104,13 @@ static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
 
 AVCodec ff_comfortnoise_encoder = {
     .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),
     .init           = cng_encode_init,
     .encode2        = cng_encode_frame,
     .close          = cng_encode_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 },
 };