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 /libavformat/ipmovie.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 'libavformat/ipmovie.c')
-rw-r--r-- | libavformat/ipmovie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c index 06585dfb6a..cd1f98abd4 100644 --- a/libavformat/ipmovie.c +++ b/libavformat/ipmovie.c @@ -516,7 +516,7 @@ static int ipmovie_probe(AVProbeData *p) static int ipmovie_read_header(AVFormatContext *s, AVFormatParameters *ap) { - IPMVEContext *ipmovie = (IPMVEContext *)s->priv_data; + IPMVEContext *ipmovie = s->priv_data; ByteIOContext *pb = &s->pb; AVPacket pkt; AVStream *st; @@ -588,7 +588,7 @@ static int ipmovie_read_header(AVFormatContext *s, static int ipmovie_read_packet(AVFormatContext *s, AVPacket *pkt) { - IPMVEContext *ipmovie = (IPMVEContext *)s->priv_data; + IPMVEContext *ipmovie = s->priv_data; ByteIOContext *pb = &s->pb; int ret; @@ -609,7 +609,7 @@ static int ipmovie_read_packet(AVFormatContext *s, static int ipmovie_read_close(AVFormatContext *s) { -// IPMVEContext *ipmovie = (IPMVEContext *)s->priv_data; +// IPMVEContext *ipmovie = s->priv_data; return 0; } |