diff options
author | Martin Storsjö <martin@martin.st> | 2013-02-06 16:34:39 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-02-06 17:05:33 +0200 |
commit | a846dccb29d2bb0798af1d47d06100eda9ca87cc (patch) | |
tree | 35cfc6861b47b5fd72d36b700ab45cd6b7485643 /libavcodec/x86/h264chroma_init.c | |
parent | 82bd04b170de00bd867e23f329c7c83f7801572c (diff) | |
download | ffmpeg-a846dccb29d2bb0798af1d47d06100eda9ca87cc.tar.gz |
h264chroma: x86: Fix building with yasm disabled
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/x86/h264chroma_init.c')
-rw-r--r-- | libavcodec/x86/h264chroma_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/h264chroma_init.c b/libavcodec/x86/h264chroma_init.c index f1f3a19257..b48565804c 100644 --- a/libavcodec/x86/h264chroma_init.c +++ b/libavcodec/x86/h264chroma_init.c @@ -68,6 +68,7 @@ CHROMA_MC(avg, 8, 10, avx) void ff_h264chroma_init_x86(H264ChromaContext *c, int bit_depth) { +#if HAVE_YASM int high_bit_depth = bit_depth > 8; int mm_flags = av_get_cpu_flags(); @@ -113,4 +114,5 @@ void ff_h264chroma_init_x86(H264ChromaContext *c, int bit_depth) c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_10_avx; c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_10_avx; } +#endif } |