]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rawdec.c
cosmetics: make all references to AC-3 capitalized and hyphenated
[ffmpeg] / libavcodec / rawdec.c
index 11d2a185e8b3067e14df3d341367a26e84d16bae..45f8f98788e5bd3d4b2749240e88ae63fc3ff89a 100644 (file)
@@ -64,7 +64,7 @@ static int findPixelFormat(const PixelFormatTag *tags, unsigned int fourcc)
     return PIX_FMT_YUV420P;
 }
 
-static int raw_init_decoder(AVCodecContext *avctx)
+static av_cold int raw_init_decoder(AVCodecContext *avctx)
 {
     RawVideoContext *context = avctx->priv_data;
 
@@ -145,7 +145,7 @@ static int raw_decode(AVCodecContext *avctx,
     return buf_size;
 }
 
-static int raw_close_decoder(AVCodecContext *avctx)
+static av_cold int raw_close_decoder(AVCodecContext *avctx)
 {
     RawVideoContext *context = avctx->priv_data;
 
@@ -162,4 +162,5 @@ AVCodec rawvideo_decoder = {
     NULL,
     raw_close_decoder,
     raw_decode,
+    .long_name = NULL_IF_CONFIG_SMALL("raw video"),
 };