Mercurial > libavcodec.hg
diff cinepak.c @ 6484:814c8bd77d91 libavcodec
These video decoders do not need to include and initialize the DSP
support functions.
author | melanson |
---|---|
date | Mon, 10 Mar 2008 03:07:44 +0000 |
parents | 612fc0c37427 |
children | 48759bfbd073 |
line wrap: on
line diff
--- a/cinepak.c Mon Mar 10 03:07:15 2008 +0000 +++ b/cinepak.c Mon Mar 10 03:07:44 2008 +0000 @@ -35,7 +35,6 @@ #include <unistd.h> #include "avcodec.h" -#include "dsputil.h" typedef struct { @@ -56,7 +55,6 @@ typedef struct CinepakContext { AVCodecContext *avctx; - DSPContext dsp; AVFrame frame; const unsigned char *data; @@ -405,8 +403,6 @@ avctx->pix_fmt = PIX_FMT_PAL8; } - dsputil_init(&s->dsp, avctx); - s->frame.data[0] = NULL; return 0;