diff libx264.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 de5b524db473
children 5df0c730234d
line wrap: on
line diff
--- a/libx264.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/libx264.c	Fri Mar 21 03:11:20 2008 +0000
@@ -119,7 +119,7 @@
     return bufsize;
 }
 
-static int
+static av_cold int
 X264_close(AVCodecContext *avctx)
 {
     X264Context *x4 = avctx->priv_data;
@@ -130,7 +130,7 @@
     return 0;
 }
 
-static int
+static av_cold int
 X264_init(AVCodecContext *avctx)
 {
     X264Context *x4 = avctx->priv_data;