summaryrefslogtreecommitdiff
path: root/libavformat/idcin.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 /libavformat/idcin.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 'libavformat/idcin.c')
-rw-r--r--libavformat/idcin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/idcin.c b/libavformat/idcin.c
index f0f4427008..5f2c9cffd8 100644
--- a/libavformat/idcin.c
+++ b/libavformat/idcin.c
@@ -137,7 +137,7 @@ static int idcin_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
ByteIOContext *pb = &s->pb;
- IdcinDemuxContext *idcin = (IdcinDemuxContext *)s->priv_data;
+ IdcinDemuxContext *idcin = s->priv_data;
AVStream *st;
unsigned int width, height;
unsigned int sample_rate, bytes_per_sample, channels;
@@ -214,7 +214,7 @@ static int idcin_read_packet(AVFormatContext *s,
int ret;
unsigned int command;
unsigned int chunk_size;
- IdcinDemuxContext *idcin = (IdcinDemuxContext *)s->priv_data;
+ IdcinDemuxContext *idcin = s->priv_data;
ByteIOContext *pb = &s->pb;
int i;
int palette_scale;