Use av_calloc instead of the pair of malloc/memset
Add some options: -reqcolors, -row, -col