summaryrefslogtreecommitdiff
path: root/libavcodec/tiertexseqv.c
diff options
context:
space:
mode:
authorNicholas Tung <ntung@ntung.com>2007-04-08 20:24:16 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-08 20:24:16 +0000
commite4141433ead866d1b359c0cbf3e4d5180477206d (patch)
treee2878410dbdf558dfb561f28cf29585c3896918d /libavcodec/tiertexseqv.c
parent119e48d9607e1a43c5ff021b5345bbd62eef3926 (diff)
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/tiertexseqv.c')
-rw-r--r--libavcodec/tiertexseqv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c
index 5343d5fa52..c9229e5cce 100644
--- a/libavcodec/tiertexseqv.c
+++ b/libavcodec/tiertexseqv.c
@@ -176,7 +176,7 @@ static void seqvideo_decode(SeqVideoContext *seq, unsigned char *data, int data_
static int seqvideo_decode_init(AVCodecContext *avctx)
{
- SeqVideoContext *seq = (SeqVideoContext *)avctx->priv_data;
+ SeqVideoContext *seq = avctx->priv_data;
seq->avctx = avctx;
avctx->pix_fmt = PIX_FMT_PAL8;
@@ -191,7 +191,7 @@ static int seqvideo_decode_frame(AVCodecContext *avctx,
uint8_t *buf, int buf_size)
{
- SeqVideoContext *seq = (SeqVideoContext *)avctx->priv_data;
+ SeqVideoContext *seq = avctx->priv_data;
seq->frame.reference = 1;
seq->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
@@ -210,7 +210,7 @@ static int seqvideo_decode_frame(AVCodecContext *avctx,
static int seqvideo_decode_end(AVCodecContext *avctx)
{
- SeqVideoContext *seq = (SeqVideoContext *)avctx->priv_data;
+ SeqVideoContext *seq = avctx->priv_data;
if (seq->frame.data[0])
avctx->release_buffer(avctx, &seq->frame);