]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/zmbv.c
Remove useless intermediate var
[ffmpeg] / libavcodec / zmbv.c
index 972cf2c2898b16c812636ad48943bd680494a7f2..51079fa944421a5884c7910416a5c65287181dac 100644 (file)
@@ -589,7 +589,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const
  * Init zmbv decoder
  *
  */
-static int decode_init(AVCodecContext *avctx)
+static av_cold int decode_init(AVCodecContext *avctx)
 {
     ZmbvContext * const c = avctx->priv_data;
     int zret; // Zlib return code
@@ -638,7 +638,7 @@ static int decode_init(AVCodecContext *avctx)
  * Uninit zmbv decoder
  *
  */
-static int decode_end(AVCodecContext *avctx)
+static av_cold int decode_end(AVCodecContext *avctx)
 {
     ZmbvContext * const c = avctx->priv_data;
 
@@ -661,6 +661,7 @@ AVCodec zmbv_decoder = {
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = "Zip Motion Blocks Video",
 };