mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 17:39:38 +00:00
audio: fix copy&paste error
This wasn't used at all in my tests, because it simply passed the frame directly to libswsresample. (And, by the way, will always do that, because s64 is so obscure literally NOTHING uses it except a sample specifically created to test this code. Screw FFmpeg.)
This commit is contained in:
parent
81c872efc0
commit
4fdd0940ed
@ -29,7 +29,7 @@ int af_fmt_to_bytes(int format)
|
||||
case AF_FORMAT_U8: return 1;
|
||||
case AF_FORMAT_S16: return 2;
|
||||
case AF_FORMAT_S32: return 4;
|
||||
case AF_FORMAT_S64: return 4;
|
||||
case AF_FORMAT_S64: return 8;
|
||||
case AF_FORMAT_FLOAT: return 4;
|
||||
case AF_FORMAT_DOUBLE: return 8;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user