Commit acd56efb authored by Clément Bœsch's avatar Clément Bœsch

swr: correctly raise rematrix AVERROR.

parent 31ec6947
......@@ -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;
}
......
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