]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/msvideo1.c
enable stream copy with ffserver, to be able to chain
[ffmpeg] / libavcodec / msvideo1.c
index 3377ce8789130b47a7014136965eb8126cf9b0ec..854f36fb562ab34a5698ac7c6e34ab73cb78fbe1 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= "Microsoft Video 1",
 };