diff options
Diffstat (limited to '')
| -rw-r--r-- | src/blind-spectrum.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blind-spectrum.c b/src/blind-spectrum.c index 3ba6191..92763aa 100644 --- a/src/blind-spectrum.c +++ b/src/blind-spectrum.c @@ -34,6 +34,8 @@ main(int argc, char *argv[]) eopen_stream(&spectrum, argv[0]); SELECT_PROCESS_FUNCTION(&stream); + CHECK_CHANS(&stream, == 3, == (luma ? 1 : stream.luma_chan)); + CHECK_N_CHAN(&stream, 4, 4); if (stream.n_chan != spectrum.n_chan || stream.encoding != spectrum.encoding) eprintf("videos use incompatible pixel formats\n"); |
