parent
e13b01f30b
commit
a7ea073619
@ -55,7 +55,7 @@ impl Context {
|
||||
ptr::null_mut(),
|
||||
);
|
||||
|
||||
if ptr.is_null() {
|
||||
if !ptr.is_null() {
|
||||
match swr_init(ptr) {
|
||||
e if e < 0 => Err(Error::from(e)),
|
||||
|
||||
|
@ -56,7 +56,7 @@ impl Context {
|
||||
ptr::null_mut(),
|
||||
);
|
||||
|
||||
if ptr.is_null() {
|
||||
if !ptr.is_null() {
|
||||
Ok(Context {
|
||||
ptr: ptr,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user