Commit 702985b8 authored by Paul B Mahol's avatar Paul B Mahol Committed by Anton Khirnov

dxa: remove useless code

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent cd9a3c35
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
* Decoder context * Decoder context
*/ */
typedef struct DxaDecContext { typedef struct DxaDecContext {
AVCodecContext *avctx;
AVFrame pic, prev; AVFrame pic, prev;
int dsize; int dsize;
...@@ -292,7 +291,6 @@ static av_cold int decode_init(AVCodecContext *avctx) ...@@ -292,7 +291,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
{ {
DxaDecContext * const c = avctx->priv_data; DxaDecContext * const c = avctx->priv_data;
c->avctx = avctx;
avctx->pix_fmt = PIX_FMT_PAL8; avctx->pix_fmt = PIX_FMT_PAL8;
c->dsize = avctx->width * avctx->height * 2; c->dsize = avctx->width * avctx->height * 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment