summaryrefslogtreecommitdiff
path: root/libavcodec/h261enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h261enc.c')
-rw-r--r--libavcodec/h261enc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index 3ef7a7c6e1..6a8d993abf 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -25,6 +25,7 @@
* H.261 encoder.
*/
+#include "libavutil/attributes.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "h263.h"
@@ -311,7 +312,7 @@ void ff_h261_encode_mb(MpegEncContext *s, int16_t block[6][64],
}
}
-void ff_h261_encode_init(MpegEncContext *s)
+av_cold void ff_h261_encode_init(MpegEncContext *s)
{
ff_h261_common_init();