mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 05:24:42 +00:00
avformat/ircamenc: Avoid floats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1fb9b2a283
commit
8aa9853093
@ -43,7 +43,7 @@ static int ircam_write_header(AVFormatContext *s)
|
||||
}
|
||||
|
||||
avio_wl32(s->pb, 0x0001A364);
|
||||
avio_wl32(s->pb, av_float2int(codec->sample_rate));
|
||||
avio_wl32(s->pb, av_q2intfloat((AVRational){codec->sample_rate, 1}));
|
||||
avio_wl32(s->pb, codec->channels);
|
||||
avio_wl32(s->pb, tag);
|
||||
ffio_fill(s->pb, 0, 1008);
|
||||
|
Loading…
Reference in New Issue
Block a user