diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-11-17 11:20:50 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-11-17 17:56:52 +0100 |
commit | acd56efbeb1a436403b3da07552922e49a721081 (patch) | |
tree | 831ea2bf89405c32065d63695b01b36d2d5696ec | |
parent | 31ec69477193965111c95fe3bb321c109c9f91f2 (diff) | |
download | ffmpeg-acd56efbeb1a436403b3da07552922e49a721081.tar.gz |
swr: correctly raise rematrix AVERROR.
-rw-r--r-- | libswresample/swresample.c | 4 |
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; } |