diff vp56.c @ 6517:48759bfbd073 libavcodec

Apply 'cold' attribute to init/uninit functions in libavcodec
author zuxy
date Fri, 21 Mar 2008 03:11:20 +0000
parents 1b91ce6c758c
children c00f5cad61cc
line wrap: on
line diff
--- a/vp56.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/vp56.c	Fri Mar 21 03:11:20 2008 +0000
@@ -643,7 +643,7 @@
     return buf_size;
 }
 
-void vp56_init(AVCodecContext *avctx, int flip, int has_alpha)
+av_cold void vp56_init(AVCodecContext *avctx, int flip, int has_alpha)
 {
     vp56_context_t *s = avctx->priv_data;
     int i;
@@ -683,7 +683,7 @@
     }
 }
 
-int vp56_free(AVCodecContext *avctx)
+av_cold int vp56_free(AVCodecContext *avctx)
 {
     vp56_context_t *s = avctx->priv_data;