projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f20a3c
)
Fix lint error
author
rinpatch
<rinpatch@sdf.org>
Tue, 27 Nov 2018 16:07:58 +0000
(19:07 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Tue, 27 Nov 2018 16:07:58 +0000
(19:07 +0300)
lib/pleroma/upload.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/upload.ex
b/lib/pleroma/upload.ex
index 9dcd9987afdd7a47299f949d6b2ccc62b25ee61e..238630bf357759762f62eddbf95bc0fab296a0b1 100644
(file)
--- a/
lib/pleroma/upload.ex
+++ b/
lib/pleroma/upload.ex
@@
-163,8
+163,9
@@
defmodule Pleroma.Upload do
<<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> ->
case IO.binread(f, 27) do
- <<_::size(160), 0x80, 0x74,
0x68,0x65,0x6f,0x72,
0x61>> ->
+ <<_::size(160), 0x80, 0x74,
0x68, 0x65, 0x6F, 0x72,
0x61>> ->
"video/ogg"
+
_ ->
"audio/ogg"
end