From e4141433ead866d1b359c0cbf3e4d5180477206d Mon Sep 17 00:00:00 2001 From: Nicholas Tung Date: Sun, 8 Apr 2007 20:24:16 +0000 Subject: Get rid of unnecessary pointer casts. patch by Nicholas Tung, ntung ntung com Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vqavideo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/vqavideo.c') diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index ced7f3dcd0..f266daf9f6 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -133,7 +133,7 @@ typedef struct VqaContext { static int vqa_decode_init(AVCodecContext *avctx) { - VqaContext *s = (VqaContext *)avctx->priv_data; + VqaContext *s = avctx->priv_data; unsigned char *vqa_header; int i, j, codebook_index;; @@ -571,7 +571,7 @@ static int vqa_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) { - VqaContext *s = (VqaContext *)avctx->priv_data; + VqaContext *s = avctx->priv_data; s->buf = buf; s->size = buf_size; @@ -599,7 +599,7 @@ static int vqa_decode_frame(AVCodecContext *avctx, static int vqa_decode_end(AVCodecContext *avctx) { - VqaContext *s = (VqaContext *)avctx->priv_data; + VqaContext *s = avctx->priv_data; av_free(s->codebook); av_free(s->next_codebook_buffer); -- cgit v1.2.3