mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 02:05:12 +00:00
upload.ex: add MPEG Layer 3 file header.
This commit is contained in:
parent
678df59d22
commit
12c7a023de
|
@ -151,6 +151,9 @@ defmodule Pleroma.Upload do
|
|||
<<0x49, 0x44, 0x33, _, _, _, _, _>> ->
|
||||
"audio/mpeg"
|
||||
|
||||
<<255, 251, _, 68, 0, 0, 0, 0>> ->
|
||||
"audio/mpeg"
|
||||
|
||||
<<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> ->
|
||||
"audio/ogg"
|
||||
|
||||
|
|
Loading…
Reference in a new issue