Skip to content
Snippets Groups Projects
Commit 12c7a023 authored by eal's avatar eal
Browse files

upload.ex: add MPEG Layer 3 file header.

parent 678df59d
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment