summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-03-14 10:01:52 -0700
committerMartin Storsjö <martin@martin.st>2013-04-19 23:29:22 +0300
commitd4d186d185df98492d8935a87c5b5cf369db9748 (patch)
tree45f3b176b66584843f9cb99b772a8ddd679bc192 /libavcodec/dsputil.c
parentc9f5fcd08c3a33bfb1b473705c792ab051e7428d (diff)
dsputil: Remove non-8bpp draw_edge
It is never used. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r--libavcodec/dsputil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 9d0303e090..6f965bede9 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -2724,12 +2724,12 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx)
#define FUNC(f, depth) f ## _ ## depth
#define FUNCC(f, depth) f ## _ ## depth ## _c
+ c->draw_edges = FUNCC(draw_edges, 8);
c->clear_block = FUNCC(clear_block, 8);
c->clear_blocks = FUNCC(clear_blocks, 8);
#define BIT_DEPTH_FUNCS(depth) \
- c->get_pixels = FUNCC(get_pixels, depth);\
- c->draw_edges = FUNCC(draw_edges, depth);
+ c->get_pixels = FUNCC(get_pixels, depth);
switch (avctx->bits_per_raw_sample) {
case 9: