Added const reference params if possible, removed less 16 size

This commit is contained in:
Herman Semenov 2024-08-22 02:56:01 +03:00
parent 79680c50c0
commit aed9a737d6
9 changed files with 19 additions and 19 deletions

View file

@ -82,7 +82,7 @@ static s32 CodecTypeToStreamType(AVMediaType codec_type) {
}
}
static f32 AVRationalToF32(const AVRational& rational) {
static f32 AVRationalToF32(const AVRational rational) {
return f32(rational.num) / rational.den;
}