]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/msvideo1.c
Add support for Acelp.net fourcc and codecid, remuxing wav to avi should work
[ffmpeg] / libavcodec / msvideo1.c
index 3377ce8789130b47a7014136965eb8126cf9b0ec..8621d661dfff95712caced80d756407e1e3515d9 100644 (file)
@@ -57,7 +57,7 @@ typedef struct Msvideo1Context {
 
 } Msvideo1Context;
 
-static int msvideo1_decode_init(AVCodecContext *avctx)
+static av_cold int msvideo1_decode_init(AVCodecContext *avctx)
 {
     Msvideo1Context *s = avctx->priv_data;
 
@@ -319,7 +319,7 @@ static int msvideo1_decode_frame(AVCodecContext *avctx,
     return buf_size;
 }
 
-static int msvideo1_decode_end(AVCodecContext *avctx)
+static av_cold int msvideo1_decode_end(AVCodecContext *avctx)
 {
     Msvideo1Context *s = avctx->priv_data;
 
@@ -339,4 +339,5 @@ AVCodec msvideo1_decoder = {
     msvideo1_decode_end,
     msvideo1_decode_frame,
     CODEC_CAP_DR1,
+    .long_name= NULL_IF_CONFIG_SMALL("Microsoft Video 1"),
 };