Mercurial > mplayer.hg
changeset 17830:e640ecc0be46
fix cosmetics noticed during nico's 10l
author | rfelker |
---|---|
date | Sun, 12 Mar 2006 18:11:32 +0000 |
parents | ff148faa7ed5 |
children | f36966ddbf77 |
files | libmpdemux/muxer_lavf.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c Sun Mar 12 18:06:46 2006 +0000 +++ b/libmpdemux/muxer_lavf.c Sun Mar 12 18:11:32 2006 +0000 @@ -113,16 +113,16 @@ mp_msg(MSGT_MUXER, MSGL_ERR, "NULL MUXER PASSED OR UNKNOW TYPE %d\n", type); return NULL; } - priv = (muxer_priv_t*) muxer->priv; + priv = muxer->priv; - stream = (muxer_stream_t*) calloc(1, sizeof(muxer_stream_t)); + stream = calloc(1, sizeof(muxer_stream_t)); if(!stream) { mp_msg(MSGT_MUXER, MSGL_ERR, "Could not alloc muxer_stream, EXIT\n"); return NULL; } muxer->streams[muxer->avih.dwStreams] = stream; - stream->b_buffer = (unsigned char *)malloc(2048); + stream->b_buffer = malloc(2048); if(!stream->b_buffer) { mp_msg(MSGT_MUXER, MSGL_ERR, "Could not alloc b_buffer, EXIT\n"); @@ -133,7 +133,7 @@ stream->b_buffer_ptr = 0; stream->b_buffer_len = 0; - spriv = (muxer_stream_priv_t*) calloc(1, sizeof(muxer_stream_priv_t)); + spriv = calloc(1, sizeof(muxer_stream_priv_t)); if(!spriv) { free(stream);