aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-03-15 01:36:45 +0000
committerAnton Khirnov <anton@khirnov.net>2012-03-15 14:01:23 +0100
commit702985b8b7bfe0d8eac2747f3a03e7f15886364c (patch)
tree6b2a7a2c625804b4678479c2c2319d0327e4e002
parentcd9a3c351264885b5940b0a46616d26185356614 (diff)
downloadffmpeg-702985b8b7bfe0d8eac2747f3a03e7f15886364c.tar.gz
dxa: remove useless code
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-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;