From 12c7a023decac20ca563c25faa4031c1b3cc56ca Mon Sep 17 00:00:00 2001 From: eal Date: Thu, 14 Jun 2018 16:41:08 +0300 Subject: [PATCH] upload.ex: add MPEG Layer 3 file header. --- lib/pleroma/upload.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index ab4bd16f0..c7f11f380 100644 --- a/lib/pleroma/upload.ex +++ b/lib/pleroma/upload.ex @@ -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" -- 2.45.2