From f7a3c540c54cc63dea57d8e102d911d6d6ad6e42 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sun, 23 Dec 2012 15:09:37 -0500 Subject: [PATCH] au: remove unnecessary casts --- libavformat/au.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/au.c b/libavformat/au.c index 488e2b0155..4645eb527c 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -165,9 +165,9 @@ static int put_au_header(AVIOContext *pb, AVCodecContext *enc) ffio_wfourcc(pb, ".snd"); /* magic number */ avio_wb32(pb, 24); /* header size */ avio_wb32(pb, AU_UNKNOWN_SIZE); /* data size */ - avio_wb32(pb, (uint32_t)enc->codec_tag); /* codec ID */ + avio_wb32(pb, enc->codec_tag); /* codec ID */ avio_wb32(pb, enc->sample_rate); - avio_wb32(pb, (uint32_t)enc->channels); + avio_wb32(pb, enc->channels); return 0; }