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/flicvideo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/flicvideo.c') diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index 9f8732ae3d..bb0577352c 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -80,7 +80,7 @@ typedef struct FlicDecodeContext { static int flic_decode_init(AVCodecContext *avctx) { - FlicDecodeContext *s = (FlicDecodeContext *)avctx->priv_data; + FlicDecodeContext *s = avctx->priv_data; unsigned char *fli_header = (unsigned char *)avctx->extradata; int depth; @@ -128,7 +128,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) { - FlicDecodeContext *s = (FlicDecodeContext *)avctx->priv_data; + FlicDecodeContext *s = avctx->priv_data; int stream_ptr = 0; int stream_ptr_after_color_chunk; @@ -430,7 +430,7 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx, { /* Note, the only difference between the 15Bpp and 16Bpp */ /* Format is the pixel format, the packets are processed the same. */ - FlicDecodeContext *s = (FlicDecodeContext *)avctx->priv_data; + FlicDecodeContext *s = avctx->priv_data; int stream_ptr = 0; int pixel_ptr; -- cgit v1.2.3