Mercurial > libavcodec.hg
diff msvideo1.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 | dfdff1ca78a7 |
children | 48759bfbd073 |
line wrap: on
line diff
--- a/msvideo1.c Mon Mar 10 03:07:15 2008 +0000 +++ b/msvideo1.c Mon Mar 10 03:07:44 2008 +0000 @@ -36,7 +36,6 @@ #include <unistd.h> #include "avcodec.h" -#include "dsputil.h" #define PALETTE_COUNT 256 #define CHECK_STREAM_PTR(n) \ @@ -49,7 +48,6 @@ typedef struct Msvideo1Context { AVCodecContext *avctx; - DSPContext dsp; AVFrame frame; const unsigned char *buf; @@ -74,8 +72,6 @@ avctx->pix_fmt = PIX_FMT_RGB555; } - dsputil_init(&s->dsp, avctx); - s->frame.data[0] = NULL; return 0;