Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-03-26 19:00:21 +0400
committerMartin Storsjö <martin@martin.st>2013-04-20 00:29:22 +0400
commitc443117f25e034c1e3ef35334b61b937e1e208ff (patch)
tree4f5856e6a47c58687cbe08863ea4486f313e7ad0 /libavcodec/h264.c
parent54cd5e4f92de6bd0fb8e24069153b0156c8136bc (diff)
dsputil: Remove dct_bits
dct_bits is never set except in h264, where it is never used, thus remove it. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index d8bc824d5c..56ac57b20a 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2912,7 +2912,6 @@ static int h264_set_parameter_from_sps(H264Context *h)
ff_h264qpel_init(&h->h264qpel, h->sps.bit_depth_luma);
ff_h264_pred_init(&h->hpc, h->avctx->codec_id, h->sps.bit_depth_luma,
h->sps.chroma_format_idc);
- h->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16;
if (CONFIG_ERROR_RESILIENCE)
ff_dsputil_init(&h->dsp, h->avctx);
ff_videodsp_init(&h->vdsp, h->sps.bit_depth_luma);