Commit 52a47237 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptative: fix format id sign

parent b74c4c50
......@@ -26,7 +26,7 @@ StreamFormat::operator unsigned() const
return formatid;
}
StreamFormat::StreamFormat( int formatid_ )
StreamFormat::StreamFormat( unsigned formatid_ )
{
formatid = formatid_;
}
......
......@@ -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;
......
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