diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-06 16:45:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-06 16:51:23 +0100 |
commit | 30056fd0be8ace0754e0568787bb4c18ea49edeb (patch) | |
tree | 2fc504571e70381b06b8ab26a20eb0ad1375c7b5 /libavcodec/ppc | |
parent | 64591f8f86f2dfeac13ee6b4e971d069675ca814 (diff) | |
parent | a03a642d5ceb5f2f7c6ebbf56ff365dfbcdb65eb (diff) | |
download | ffmpeg-30056fd0be8ace0754e0568787bb4c18ea49edeb.tar.gz |
Merge commit 'a03a642d5ceb5f2f7c6ebbf56ff365dfbcdb65eb'
* commit 'a03a642d5ceb5f2f7c6ebbf56ff365dfbcdb65eb':
h264: do not use 422 functions for monochrome
See: 07abf13da4a7c3d23ce6bc6542d72e6252161736
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/h264dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/h264dsp.c b/libavcodec/ppc/h264dsp.c index 9e749b5bc6..f532197a52 100644 --- a/libavcodec/ppc/h264dsp.c +++ b/libavcodec/ppc/h264dsp.c @@ -750,7 +750,7 @@ av_cold void ff_h264dsp_init_ppc(H264DSPContext *c, const int bit_depth, if (bit_depth == 8) { c->h264_idct_add = h264_idct_add_altivec; - if (chroma_format_idc == 1) + if (chroma_format_idc <= 1) c->h264_idct_add8 = h264_idct_add8_altivec; c->h264_idct_add16 = h264_idct_add16_altivec; c->h264_idct_add16intra = h264_idct_add16intra_altivec; |