aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alpha
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-04-12 13:55:49 +0100
committerMans Rullgard <mans@mansr.com>2012-04-21 18:56:19 +0100
commit2bcbd98459915baefc15043d02f4a942ebcd33da (patch)
tree8dc1411f9bab944622c785efbd9c5dc4959b00ee /libavcodec/alpha
parent95510be8c35753da8f48062b28b65e7acdab965f (diff)
downloadffmpeg-2bcbd98459915baefc15043d02f4a942ebcd33da.tar.gz
Remove lowres video decoding
This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/alpha')
-rw-r--r--libavcodec/alpha/dsputil_alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alpha/dsputil_alpha.c b/libavcodec/alpha/dsputil_alpha.c
index dc7cef9356..ce7cecb741 100644
--- a/libavcodec/alpha/dsputil_alpha.c
+++ b/libavcodec/alpha/dsputil_alpha.c
@@ -336,7 +336,7 @@ void ff_dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx)
put_pixels_clamped_axp_p = c->put_pixels_clamped;
add_pixels_clamped_axp_p = c->add_pixels_clamped;
- if (!avctx->lowres && avctx->bits_per_raw_sample <= 8 &&
+ if (avctx->bits_per_raw_sample <= 8 &&
(avctx->idct_algo == FF_IDCT_AUTO ||
avctx->idct_algo == FF_IDCT_SIMPLEALPHA)) {
c->idct_put = ff_simple_idct_put_axp;