[vlc-commits] demux: adaptative: fix compilation
KO Myung-Hun
git at videolan.org
Mon Jul 6 18:42:11 CEST 2015
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Mon Jul 6 17:03:23 2015 +0900| [9b341af876b4d4cd5a5018864259e8f73e12e0e9] | committer: Jean-Baptiste Kempf
demux: adaptative: fix compilation
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b341af876b4d4cd5a5018864259e8f73e12e0e9
---
modules/demux/adaptative/Streams.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/demux/adaptative/Streams.cpp b/modules/demux/adaptative/Streams.cpp
index 3c0de1c..2fd635c 100644
--- a/modules/demux/adaptative/Streams.cpp
+++ b/modules/demux/adaptative/Streams.cpp
@@ -59,13 +59,13 @@ StreamType Stream::mimeToType(const std::string &mime)
{
StreamType mimetype;
if (!mime.compare(0, 6, "video/"))
- mimetype = StreamType::VIDEO;
+ mimetype = VIDEO;
else if (!mime.compare(0, 6, "audio/"))
- mimetype = StreamType::AUDIO;
+ mimetype = AUDIO;
else if (!mime.compare(0, 12, "application/"))
- mimetype = StreamType::APPLICATION;
+ mimetype = APPLICATION;
else /* unknown of unsupported */
- mimetype = StreamType::UNKNOWN;
+ mimetype = UNKNOWN;
return mimetype;
}
More information about the vlc-commits
mailing list