]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/kmvc.c
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
[ffmpeg] / libavcodec / kmvc.c
index 395ca2cb99ec0e0a6c59170aa13182233b2dee61..3ab4adf176ef9f04c5f954e9f053ed819673733e 100644 (file)
@@ -338,7 +338,7 @@ static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, cons
 /*
  * Init kmvc decoder
  */
-static int decode_init(AVCodecContext * avctx)
+static av_cold int decode_init(AVCodecContext * avctx)
 {
     KmvcContext *const c = avctx->priv_data;
     int i;
@@ -390,7 +390,7 @@ static int decode_init(AVCodecContext * avctx)
 /*
  * Uninit kmvc decoder
  */
-static int decode_end(AVCodecContext * avctx)
+static av_cold int decode_end(AVCodecContext * avctx)
 {
     KmvcContext *const c = avctx->priv_data;
 
@@ -410,5 +410,6 @@ AVCodec kmvc_decoder = {
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = NULL_IF_CONFIG_SMALL("Karl Morton's video codec"),
 };