diff options
author | Nicholas Tung <ntung@ntung.com> | 2007-04-08 20:24:16 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-08 20:24:16 +0000 |
commit | e4141433ead866d1b359c0cbf3e4d5180477206d (patch) | |
tree | e2878410dbdf558dfb561f28cf29585c3896918d /libavcodec/flashsv.c | |
parent | 119e48d9607e1a43c5ff021b5345bbd62eef3926 (diff) | |
download | ffmpeg-e4141433ead866d1b359c0cbf3e4d5180477206d.tar.gz |
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
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r-- | libavcodec/flashsv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 515085c028..41baf10717 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -82,7 +82,7 @@ static void copy_region(uint8_t *sptr, uint8_t *dptr, static int flashsv_decode_init(AVCodecContext *avctx) { - FlashSVContext *s = (FlashSVContext *)avctx->priv_data; + FlashSVContext *s = avctx->priv_data; int zret; // Zlib return code s->avctx = avctx; @@ -105,7 +105,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) { - FlashSVContext *s = (FlashSVContext *)avctx->priv_data; + FlashSVContext *s = avctx->priv_data; int h_blocks, v_blocks, h_part, v_part, i, j; GetBitContext gb; @@ -231,7 +231,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, static int flashsv_decode_end(AVCodecContext *avctx) { - FlashSVContext *s = (FlashSVContext *)avctx->priv_data; + FlashSVContext *s = avctx->priv_data; inflateEnd(&(s->zstream)); /* release the frame if needed */ if (s->frame.data[0]) |