summaryrefslogtreecommitdiff
path: root/libavcodec/dds.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dds.c')
-rw-r--r--libavcodec/dds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dds.c b/libavcodec/dds.c
index 32690e1fd7..c5691a4afd 100644
--- a/libavcodec/dds.c
+++ b/libavcodec/dds.c
@@ -606,12 +606,11 @@ static void run_postproc(AVCodecContext *avctx, AVFrame *frame)
}
}
-static int dds_decode(AVCodecContext *avctx, void *data,
+static int dds_decode(AVCodecContext *avctx, AVFrame *frame,
int *got_frame, AVPacket *avpkt)
{
DDSContext *ctx = avctx->priv_data;
GetByteContext *gbc = &ctx->gbc;
- AVFrame *frame = data;
int mipmap;
int ret;
int width, height;