summaryrefslogtreecommitdiff
path: root/libavcodec/dxa.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dxa.c')
-rw-r--r--libavcodec/dxa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c
index d196f49486..7b7a386adc 100644
--- a/libavcodec/dxa.c
+++ b/libavcodec/dxa.c
@@ -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;