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/flic.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/flic.c')
-rw-r--r-- | libavformat/flic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/flic.c b/libavformat/flic.c index d5544b5e0a..2c3754f0ff 100644 --- a/libavformat/flic.c +++ b/libavformat/flic.c @@ -67,7 +67,7 @@ static int flic_probe(AVProbeData *p) static int flic_read_header(AVFormatContext *s, AVFormatParameters *ap) { - FlicDemuxContext *flic = (FlicDemuxContext *)s->priv_data; + FlicDemuxContext *flic = s->priv_data; ByteIOContext *pb = &s->pb; unsigned char header[FLIC_HEADER_SIZE]; AVStream *st; @@ -157,7 +157,7 @@ static int flic_read_header(AVFormatContext *s, static int flic_read_packet(AVFormatContext *s, AVPacket *pkt) { - FlicDemuxContext *flic = (FlicDemuxContext *)s->priv_data; + FlicDemuxContext *flic = s->priv_data; ByteIOContext *pb = &s->pb; int packet_read = 0; unsigned int size; @@ -204,7 +204,7 @@ static int flic_read_packet(AVFormatContext *s, static int flic_read_close(AVFormatContext *s) { -// FlicDemuxContext *flic = (FlicDemuxContext *)s->priv_data; +// FlicDemuxContext *flic = s->priv_data; return 0; } |