Commit 9b341af8 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

demux: adaptative: fix compilation

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 27d4490a
...@@ -59,13 +59,13 @@ StreamType Stream::mimeToType(const std::string &mime) ...@@ -59,13 +59,13 @@ StreamType Stream::mimeToType(const std::string &mime)
{ {
StreamType mimetype; StreamType mimetype;
if (!mime.compare(0, 6, "video/")) if (!mime.compare(0, 6, "video/"))
mimetype = StreamType::VIDEO; mimetype = VIDEO;
else if (!mime.compare(0, 6, "audio/")) else if (!mime.compare(0, 6, "audio/"))
mimetype = StreamType::AUDIO; mimetype = AUDIO;
else if (!mime.compare(0, 12, "application/")) else if (!mime.compare(0, 12, "application/"))
mimetype = StreamType::APPLICATION; mimetype = APPLICATION;
else /* unknown of unsupported */ else /* unknown of unsupported */
mimetype = StreamType::UNKNOWN; mimetype = UNKNOWN;
return mimetype; return mimetype;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment