Commit ed25d750 authored by Zhao Zhili's avatar Zhao Zhili Committed by François Cartegnie

demux: adaptive: pass by const reference for compare

Signed-off-by: François Cartegnie's avatarFrancois Cartegnie <>
parent f81edb54
......@@ -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 */
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