1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

swr: correctly raise rematrix AVERROR.

This commit is contained in:
Clément Bœsch 2011-11-17 11:20:50 +01:00
parent 31ec694771
commit acd56efbeb

View File

@ -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;
}