]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dxa.c
lavc/vda: fix make checkheaders.
[ffmpeg] / libavcodec / dxa.c
index 28c6af90310be4da47b4ec437f1e966cbe2fc92f..5e25ab74397e627f75522fad6013dfab371c743d 100644 (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;
 
     avcodec_get_frame_defaults(&c->pic);
@@ -329,5 +327,5 @@ AVCodec ff_dxa_decoder = {
     .close          = decode_end,
     .decode         = decode_frame,
     .capabilities   = CODEC_CAP_DR1,
-    .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
+    .long_name      = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
 };