Fix lint error
This commit is contained in:
parent
7f20a3cf1f
commit
0d229613df
|
@ -163,8 +163,9 @@ def get_content_type(file) do
|
||||||
|
|
||||||
<<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> ->
|
<<0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00>> ->
|
||||||
case IO.binread(f, 27) do
|
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"
|
"video/ogg"
|
||||||
|
|
||||||
_ ->
|
_ ->
|
||||||
"audio/ogg"
|
"audio/ogg"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue