summaryrefslogtreecommitdiff
path: root/libavformat/mm.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/mm.c
parent119e48d9607e1a43c5ff021b5345bbd62eef3926 (diff)
downloadffmpeg-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/mm.c')
-rw-r--r--libavformat/mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mm.c b/libavformat/mm.c
index a7a67e9f00..304d3188ec 100644
--- a/libavformat/mm.c
+++ b/libavformat/mm.c
@@ -71,7 +71,7 @@ static int mm_probe(AVProbeData *p)
static int mm_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
- MmDemuxContext *mm = (MmDemuxContext *)s->priv_data;
+ MmDemuxContext *mm = s->priv_data;
ByteIOContext *pb = &s->pb;
AVStream *st;
@@ -126,7 +126,7 @@ static int mm_read_header(AVFormatContext *s,
static int mm_read_packet(AVFormatContext *s,
AVPacket *pkt)
{
- MmDemuxContext *mm = (MmDemuxContext *)s->priv_data;
+ MmDemuxContext *mm = s->priv_data;
ByteIOContext *pb = &s->pb;
unsigned char preamble[MM_PREAMBLE_SIZE];
unsigned char pal[MM_PALETTE_SIZE];