Browse Source

dxa: remove useless code

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.11
Paul B Mahol Anton Khirnov 13 years ago
parent
commit
702985b8b7
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/dxa.c

+ 0
- 2
libavcodec/dxa.c View File

@@ -36,7 +36,6 @@
* Decoder context
*/
typedef struct DxaDecContext {
AVCodecContext *avctx;
AVFrame pic, prev;

int dsize;
@@ -292,7 +291,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
{
DxaDecContext * const c = avctx->priv_data;

c->avctx = avctx;
avctx->pix_fmt = PIX_FMT_PAL8;

c->dsize = avctx->width * avctx->height * 2;


Loading…
Cancel
Save