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/electronicarts.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/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index e140d494bb..2b66c739c0 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -80,7 +80,7 @@ static uint32_t read_arbitary(ByteIOContext *pb) { static int process_ea_header(AVFormatContext *s) { int inHeader; uint32_t blockid, size; - EaDemuxContext *ea = (EaDemuxContext *)s->priv_data; + EaDemuxContext *ea = s->priv_data; ByteIOContext *pb = &s->pb; if (get_buffer(pb, (void*)&blockid, 4) != 4) { @@ -174,7 +174,7 @@ static int ea_probe(AVProbeData *p) static int ea_read_header(AVFormatContext *s, AVFormatParameters *ap) { - EaDemuxContext *ea = (EaDemuxContext *)s->priv_data; + EaDemuxContext *ea = s->priv_data; AVStream *st; if (!process_ea_header(s)) @@ -272,7 +272,7 @@ static int ea_read_packet(AVFormatContext *s, static int ea_read_close(AVFormatContext *s) { -// EaDemuxContext *ea = (EaDemuxContext *)s->priv_data; +// EaDemuxContext *ea = s->priv_data; return 0; } |