OSDN Git Service

au: remove unnecessary casts
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 23 Dec 2012 20:09:37 +0000 (15:09 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 9 Jan 2013 16:52:57 +0000 (11:52 -0500)
libavformat/au.c

index 488e2b0..4645eb5 100644 (file)
@@ -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;
 }