Mercurial > libavformat.hg
diff tiertexseq.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 | 7376514d9d60 |
children | 7eb456c4ed8a |
line wrap: on
line diff
--- a/tiertexseq.c Sun Apr 08 20:21:11 2007 +0000 +++ b/tiertexseq.c Sun Apr 08 20:24:16 2007 +0000 @@ -183,7 +183,7 @@ static int seq_read_header(AVFormatContext *s, AVFormatParameters *ap) { int i, rc; - SeqDemuxContext *seq = (SeqDemuxContext *)s->priv_data; + SeqDemuxContext *seq = s->priv_data; ByteIOContext *pb = &s->pb; AVStream *st; @@ -240,7 +240,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt) { int rc; - SeqDemuxContext *seq = (SeqDemuxContext *)s->priv_data; + SeqDemuxContext *seq = s->priv_data; ByteIOContext *pb = &s->pb; if (!seq->audio_buffer_full) { @@ -294,7 +294,7 @@ static int seq_read_close(AVFormatContext *s) { int i; - SeqDemuxContext *seq = (SeqDemuxContext *)s->priv_data; + SeqDemuxContext *seq = s->priv_data; for (i = 0; i < SEQ_NUM_FRAME_BUFFERS; i++) av_free(seq->frame_buffers[i].data);