[vlc-commits] demux: adaptative: fix format id sign
Francois Cartegnie
git at videolan.org
Tue Oct 6 13:16:36 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 5 23:42:21 2015 +0200| [52a47237ec94a6092f3aa41a9002ebbec12084c6] | committer: Francois Cartegnie
demux: adaptative: fix format id sign
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52a47237ec94a6092f3aa41a9002ebbec12084c6
---
modules/demux/adaptative/StreamFormat.cpp | 2 +-
modules/demux/adaptative/StreamFormat.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/adaptative/StreamFormat.cpp b/modules/demux/adaptative/StreamFormat.cpp
index 27dfc4c..dac3c29 100644
--- a/modules/demux/adaptative/StreamFormat.cpp
+++ b/modules/demux/adaptative/StreamFormat.cpp
@@ -26,7 +26,7 @@ StreamFormat::operator unsigned() const
return formatid;
}
-StreamFormat::StreamFormat( int formatid_ )
+StreamFormat::StreamFormat( unsigned formatid_ )
{
formatid = formatid_;
}
diff --git a/modules/demux/adaptative/StreamFormat.hpp b/modules/demux/adaptative/StreamFormat.hpp
index 057a0f4..c023968 100644
--- a/modules/demux/adaptative/StreamFormat.hpp
+++ b/modules/demux/adaptative/StreamFormat.hpp
@@ -28,7 +28,7 @@ namespace adaptative
public:
static const unsigned UNSUPPORTED = 0;
- StreamFormat( int = UNSUPPORTED );
+ StreamFormat( unsigned = UNSUPPORTED );
~StreamFormat();
operator unsigned() const;
bool operator==(const StreamFormat &) const;
More information about the vlc-commits
mailing list