[FFmpeg-devel] [PATCH 1/2] swr: correctly raise rematrix AVERROR.
Clément Bœsch
ubitux at gmail.com
Thu Nov 17 11:22:44 CET 2011
---
libswresample/swresample.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 2e8020d..6c6482a 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;
}
--
1.7.7.3
More information about the ffmpeg-devel
mailing list