]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ppc/videodsp_ppc.c
Merge commit 'dff6197dfb9b2d145729885c63f865c5fdd184aa'
[ffmpeg] / libavcodec / ppc / videodsp_ppc.c
index 0fe515fbb8d7a9ba85c05a034bc4fc13346afc1e..915702252e6263ba5a937b7171294e08dd5504d8 100644 (file)
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/attributes.h"
 #include "libavcodec/videodsp.h"
 
 static void prefetch_ppc(uint8_t *mem, ptrdiff_t stride, int h)
@@ -29,7 +30,7 @@ static void prefetch_ppc(uint8_t *mem, ptrdiff_t stride, int h)
     } while(--h);
 }
 
-void ff_videodsp_init_ppc(VideoDSPContext *ctx, int bpc)
+av_cold void ff_videodsp_init_ppc(VideoDSPContext *ctx, int bpc)
 {
     ctx->prefetch = prefetch_ppc;
 }