avfilter/vf_colormatrix: make sure the number of threads is even for yuv420p
authorClément Bœsch <u@pkh.me>
Tue, 17 Mar 2015 19:09:49 +0000 (20:09 +0100)
committerClément Bœsch <u@pkh.me>
Tue, 17 Mar 2015 19:19:54 +0000 (20:19 +0100)
commit09f057170e52442a9136b8298bb37897cc81f9e9
treeeab6abc3b3c18835362bad48e5caf77f5bcb7854
parent2cfa1fdb08a9fa5f88bc829b24ac865488cdb60f
avfilter/vf_colormatrix: make sure the number of threads is even for yuv420p

Fix crash with for example:
  ffmpeg -f lavfi -i testsrc=568x320 -threads 3 -vf format=yuv420p,colormatrix=bt709:smpte170m -f null -
libavfilter/vf_colormatrix.c