OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8207b
)
au: remove unnecessary casts
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sun, 23 Dec 2012 20:09:37 +0000
(15:09 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 9 Jan 2013 16:52:57 +0000
(11:52 -0500)
libavformat/au.c
patch
|
blob
|
history
diff --git
a/libavformat/au.c
b/libavformat/au.c
index
488e2b0
..
4645eb5
100644
(file)
--- 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;
}