]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cyuv.c
cosmetics: make all references to AC-3 capitalized and hyphenated
[ffmpeg] / libavcodec / cyuv.c
index c36495ec6dd04bd0ed372f0a5fc0f6023d14a321..d64f6df275603beac69ed6c6e2695aabb2cf769e 100644 (file)
@@ -35,7 +35,6 @@
 
 #include "avcodec.h"
 #include "dsputil.h"
-#include "mpegvideo.h"
 
 
 typedef struct CyuvDecodeContext {
@@ -44,7 +43,7 @@ typedef struct CyuvDecodeContext {
     AVFrame frame;
 } CyuvDecodeContext;
 
-static int cyuv_decode_init(AVCodecContext *avctx)
+static av_cold int cyuv_decode_init(AVCodecContext *avctx)
 {
     CyuvDecodeContext *s = avctx->priv_data;
 
@@ -164,7 +163,7 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
     return buf_size;
 }
 
-static int cyuv_decode_end(AVCodecContext *avctx)
+static av_cold int cyuv_decode_end(AVCodecContext *avctx)
 {
 /*    CyuvDecodeContext *s = avctx->priv_data;*/
 
@@ -181,6 +180,7 @@ AVCodec cyuv_decoder = {
     cyuv_decode_end,
     cyuv_decode_frame,
     CODEC_CAP_DR1,
-    NULL
+    NULL,
+    .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
 };