Mercurial > libavformat.hg
diff flic.c @ 2006:2f0154760e5f libavformat
Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com
author | diego |
---|---|
date | Sun, 08 Apr 2007 20:24:16 +0000 |
parents | 1a3c9056982a |
children | 7eb456c4ed8a |
line wrap: on
line diff
--- a/flic.c Sun Apr 08 20:21:11 2007 +0000 +++ b/flic.c Sun Apr 08 20:24:16 2007 +0000 @@ -67,7 +67,7 @@ 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_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_close(AVFormatContext *s) { -// FlicDemuxContext *flic = (FlicDemuxContext *)s->priv_data; +// FlicDemuxContext *flic = s->priv_data; return 0; }