[FFmpeg-cvslog] dsputil: unbreak compilation on sparc after 6802c70
Hendrik Leppkes
git at videolan.org
Thu Mar 14 15:06:08 CET 2013
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Thu Mar 14 12:21:43 2013 +0100| [49a514c13e148a4c0984e5c03262ced69575b620] | committer: Michael Niedermayer
dsputil: unbreak compilation on sparc after 6802c70
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49a514c13e148a4c0984e5c03262ced69575b620
---
libavcodec/sparc/dsputil_vis.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/sparc/dsputil_vis.c b/libavcodec/sparc/dsputil_vis.c
index cd59fa7..9c3494b 100644
--- 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) {
More information about the ffmpeg-cvslog
mailing list