]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vb.c
add necessary #includes in headers
[ffmpeg] / libavcodec / vb.c
index 7a2e0070560352f95594e2e53c8bc71e08604e95..b44875538739accd9381d3c3e24e545447e018e0 100644 (file)
@@ -234,7 +234,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const
     return buf_size;
 }
 
-static int decode_init(AVCodecContext *avctx)
+static av_cold int decode_init(AVCodecContext *avctx)
 {
     VBDecContext * const c = avctx->priv_data;
 
@@ -257,7 +257,7 @@ static int decode_init(AVCodecContext *avctx)
     return 0;
 }
 
-static int decode_end(AVCodecContext *avctx)
+static av_cold int decode_end(AVCodecContext *avctx)
 {
     VBDecContext *c = avctx->priv_data;
 
@@ -277,6 +277,7 @@ AVCodec vb_decoder = {
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = "Beam Software VB",
 };