mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
au: remove unnecessary casts
This commit is contained in:
parent
2f8207b1c6
commit
f7a3c540c5
@ -165,9 +165,9 @@ static int put_au_header(AVIOContext *pb, AVCodecContext *enc)
|
|||||||
ffio_wfourcc(pb, ".snd"); /* magic number */
|
ffio_wfourcc(pb, ".snd"); /* magic number */
|
||||||
avio_wb32(pb, 24); /* header size */
|
avio_wb32(pb, 24); /* header size */
|
||||||
avio_wb32(pb, AU_UNKNOWN_SIZE); /* data 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, enc->sample_rate);
|
||||||
avio_wb32(pb, (uint32_t)enc->channels);
|
avio_wb32(pb, enc->channels);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user