summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/videodsp.c
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
commitf7813a5324be39d13ab536c245d15dfc602a7849 (patch)
treefad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/videodsp.c
parentb7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff)
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavcodec/videodsp.c')
-rw-r--r--ffmpeg/libavcodec/videodsp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg/libavcodec/videodsp.c b/ffmpeg/libavcodec/videodsp.c
index f91bac3..13e4a7b 100644
--- a/ffmpeg/libavcodec/videodsp.c
+++ b/ffmpeg/libavcodec/videodsp.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "videodsp.h"
@@ -34,7 +35,7 @@ static void just_return(uint8_t *buf, ptrdiff_t stride, int h)
{
}
-void ff_videodsp_init(VideoDSPContext *ctx, int bpc)
+av_cold void ff_videodsp_init(VideoDSPContext *ctx, int bpc)
{
ctx->prefetch = just_return;
if (bpc <= 8) {