Commit 52a47237 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: fix format id sign

parent b74c4c50
...@@ -26,7 +26,7 @@ StreamFormat::operator unsigned() const ...@@ -26,7 +26,7 @@ StreamFormat::operator unsigned() const
return formatid; return formatid;
} }
StreamFormat::StreamFormat( int formatid_ ) StreamFormat::StreamFormat( unsigned formatid_ )
{ {
formatid = formatid_; formatid = formatid_;
} }
......
...@@ -28,7 +28,7 @@ namespace adaptative ...@@ -28,7 +28,7 @@ namespace adaptative
public: public:
static const unsigned UNSUPPORTED = 0; static const unsigned UNSUPPORTED = 0;
StreamFormat( int = UNSUPPORTED ); StreamFormat( unsigned = UNSUPPORTED );
~StreamFormat(); ~StreamFormat();
operator unsigned() const; operator unsigned() const;
bool operator==(const StreamFormat &) const; bool operator==(const StreamFormat &) const;
......
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