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 84a8816022..bfa34ea75f 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -25,6 +25,7 @@
* H.261 encoder.
*/
+#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "mpegvideo.h"
@@ -312,7 +313,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();