]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264dsp.c
Merge commit '9cacdabd1c8cd257a942d8289349c37d992989b7'
[ffmpeg] / libavcodec / h264dsp.c
index 0082549d2de88fc6ff974a235e78e1ee4f0090ed..d7238b11a44a100298e6839cbaeee2a4edaf8ef1 100644 (file)
@@ -26,7 +26,9 @@
  */
 
 #include <stdint.h>
+#include "libavutil/attributes.h"
 #include "libavutil/avassert.h"
+
 #include "avcodec.h"
 #include "h264dsp.h"
 #include "h264idct.h"
@@ -60,7 +62,8 @@
 #include "h264addpx_template.c"
 #undef BIT_DEPTH
 
-void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_format_idc)
+av_cold void ff_h264dsp_init(H264DSPContext *c, const int bit_depth,
+                             const int chroma_format_idc)
 {
 #undef FUNC
 #define FUNC(a, depth) a ## _ ## depth ## _c