[FFmpeg-cvslog] au: remove unnecessary casts

Justin Ruggles git at videolan.org
Thu Jan 10 12:32:42 CET 2013


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sun Dec 23 15:09:37 2012 -0500| [f7a3c540c54cc63dea57d8e102d911d6d6ad6e42] | committer: Justin Ruggles

au: remove unnecessary casts

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7a3c540c54cc63dea57d8e102d911d6d6ad6e42
---

 libavformat/au.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/au.c b/libavformat/au.c
index 488e2b0..4645eb5 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;
 }



More information about the ffmpeg-cvslog mailing list