Merge pull request #95 from shssoichiro/fix-get-best-stream
Fix get best stream
This commit is contained in:
commit
984919a57b
@ -176,7 +176,7 @@ impl<'a> Best<'a> {
|
||||
0,
|
||||
);
|
||||
|
||||
if index >= 0 && !decoder.is_null() {
|
||||
if index >= 0 {
|
||||
Some(Stream::wrap(self.context, index as usize))
|
||||
} else {
|
||||
None
|
||||
|
Loading…
x
Reference in New Issue
Block a user