diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-07 13:35:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-07 13:35:49 +0100 |
commit | 60a0bc46cdba5f13d557624d3448628328ad0fb0 (patch) | |
tree | 65788b23d15f155b742e5fd6d85e10c601f1d772 /libavcodec/x86/h264chroma_init.c | |
parent | c4e394e46008c9e208f666d156f49f7ba500d73a (diff) | |
parent | a846dccb29d2bb0798af1d47d06100eda9ca87cc (diff) | |
download | ffmpeg-60a0bc46cdba5f13d557624d3448628328ad0fb0.tar.gz |
Merge commit 'a846dccb29d2bb0798af1d47d06100eda9ca87cc'
* commit 'a846dccb29d2bb0798af1d47d06100eda9ca87cc':
h264chroma: x86: Fix building with yasm disabled
rv34: Drop now unnecessary dsputil dependencies
Conflicts:
libavcodec/x86/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 b9783d6693..6fc9a436d3 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 } |