OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'qatar/master'
[coroid/ffmpeg_saccubus.git]
/
libavcodec
/
ppc
/
dsputil_ppc.c
diff --git
a/libavcodec/ppc/dsputil_ppc.c
b/libavcodec/ppc/dsputil_ppc.c
index
c683725
..
8229fb5
100644
(file)
--- a/
libavcodec/ppc/dsputil_ppc.c
+++ b/
libavcodec/ppc/dsputil_ppc.c
@@
-178,7
+178,7
@@
void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
}
#endif //CONFIG_ENCODERS
- if (avctx->lowres
==0
) {
+ if (avctx->lowres
== 0 && avctx->bits_per_raw_sample <= 8
) {
if ((avctx->idct_algo == FF_IDCT_AUTO) ||
(avctx->idct_algo == FF_IDCT_ALTIVEC)) {
c->idct_put = idct_put_altivec;