OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1efeb
)
dsputil: unbreak compilation on sparc after 6802c70
author
Hendrik Leppkes
<h.leppkes@gmail.com>
Thu, 14 Mar 2013 11:21:43 +0000
(12:21 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 14 Mar 2013 13:53:39 +0000
(14:53 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/sparc/dsputil_vis.c
patch
|
blob
|
history
diff --git
a/libavcodec/sparc/dsputil_vis.c
b/libavcodec/sparc/dsputil_vis.c
index
cd59fa7
..
9c3494b
100644
(file)
--- a/
libavcodec/sparc/dsputil_vis.c
+++ b/
libavcodec/sparc/dsputil_vis.c
@@
-49,6
+49,7
@@
av_cold void ff_dsputil_init_vis(DSPContext *c, AVCodecContext *avctx)
{
/* VIS-specific optimizations */
int accel = vis_level ();
+ const int high_bit_depth = avctx->bits_per_raw_sample > 8;
if (accel & ACCEL_SPARC_VIS && !high_bit_depth) {
if (avctx->idct_algo == FF_IDCT_SIMPLEVIS) {