mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
swr: correctly raise rematrix AVERROR.
This commit is contained in:
parent
31ec694771
commit
acd56efbeb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user