summaryrefslogtreecommitdiff
path: root/libavcodec/xl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/xl.c')
-rw-r--r--libavcodec/xl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xl.c b/libavcodec/xl.c
index 0ebc9467e0..19cb44fb6b 100644
--- a/libavcodec/xl.c
+++ b/libavcodec/xl.c
@@ -45,7 +45,7 @@ static int decode_frame(AVCodecContext *avctx,
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
VideoXLContext * const a = avctx->priv_data;
- AVFrame * const p= (AVFrame*)&a->pic;
+ AVFrame * const p = &a->pic;
uint8_t *Y, *U, *V;
int i, j;
int stride;