Skip to content
Snippets Groups Projects
Commit ed25d750 authored by Zhao Zhili's avatar Zhao Zhili Committed by François Cartegnie
Browse files

demux: adaptive: pass by const reference for compare


Signed-off-by: default avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent f81edb54
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ struct PrioritizedAbstractStream
AbstractStream *st;
};
static bool streamCompare(PrioritizedAbstractStream a, PrioritizedAbstractStream b)
static bool streamCompare(const PrioritizedAbstractStream &a, const PrioritizedAbstractStream &b)
{
if( a.status >= b.status ) /* Highest prio is higer value in enum */
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment