Commit 2ca41038 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mkv: fix previous type fix

first segment is always 0, not an undefined value
regression introduced by aaebd49a
instead of removing the tautology
parent 3c8d0b09
...@@ -121,7 +121,7 @@ public: ...@@ -121,7 +121,7 @@ public:
inline virtual_edition_c * CurrentEdition() inline virtual_edition_c * CurrentEdition()
{ {
if( i_current_edition > 0 && i_current_edition < editions.size() ) if( i_current_edition < editions.size() )
return editions[i_current_edition]; return editions[i_current_edition];
return NULL; return NULL;
} }
......
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