Mercurial > mplayer.hg
changeset 34538:4b2275e890ac
Remove pointless casts.
author | reimar |
---|---|
date | Sat, 28 Jan 2012 12:52:23 +0000 |
parents | cf72993a2a33 |
children | 88bd2174f616 |
files | libmpdemux/muxer_lavf.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c Sat Jan 28 12:41:26 2012 +0000 +++ b/libmpdemux/muxer_lavf.c Sat Jan 28 12:52:23 2012 +0000 @@ -247,8 +247,8 @@ static void write_chunk(muxer_stream_t *stream, size_t len, unsigned int flags, double dts, double pts) { - muxer_t *muxer = (muxer_t*) stream->muxer; - muxer_priv_t *priv = (muxer_priv_t *) muxer->priv; + muxer_t *muxer = stream->muxer; + muxer_priv_t *priv = muxer->priv; muxer_stream_priv_t *spriv = (muxer_stream_priv_t *) stream->priv; AVPacket pkt; @@ -280,7 +280,7 @@ static void write_header(muxer_t *muxer) { - muxer_priv_t *priv = (muxer_priv_t *) muxer->priv; + muxer_priv_t *priv = muxer->priv; mp_msg(MSGT_MUXER, MSGL_INFO, MSGTR_WritingHeader); avformat_write_header(priv->oc, NULL); @@ -291,7 +291,7 @@ static void write_trailer(muxer_t *muxer) { int i; - muxer_priv_t *priv = (muxer_priv_t *) muxer->priv; + muxer_priv_t *priv = muxer->priv; mp_msg(MSGT_MUXER, MSGL_INFO, MSGTR_WritingTrailer); av_write_trailer(priv->oc);