Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 2e8020dfff..6c6482a19f 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -239,8 +239,8 @@ av_assert0(s->out.ch_count);
s->in_buffer.planar = s->postin.planar = s->midbuf.planar = s->preout.planar = 1;
- if(s->rematrix && swri_rematrix_init(s)<0)
- return -1;
+ if(s->rematrix)
+ return swri_rematrix_init(s);
return 0;
}