mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-11 22:29:17 +00:00
Added const reference params if possible, removed less 16 size
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user