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/qtrle.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/qtrle.c')
-rw-r--r-- | libavcodec/qtrle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index b63112221d..5c6ccb4fb1 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -491,7 +491,7 @@ static void qtrle_decode_32bpp(QtrleContext *s) static int qtrle_decode_init(AVCodecContext *avctx) { - QtrleContext *s = (QtrleContext *)avctx->priv_data; + QtrleContext *s = avctx->priv_data; s->avctx = avctx; switch (avctx->bits_per_sample) { @@ -534,7 +534,7 @@ static int qtrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) { - QtrleContext *s = (QtrleContext *)avctx->priv_data; + QtrleContext *s = avctx->priv_data; s->buf = buf; s->size = buf_size; @@ -607,7 +607,7 @@ static int qtrle_decode_frame(AVCodecContext *avctx, static int qtrle_decode_end(AVCodecContext *avctx) { - QtrleContext *s = (QtrleContext *)avctx->priv_data; + QtrleContext *s = avctx->priv_data; if (s->frame.data[0]) avctx->release_buffer(avctx, &s->frame); |