Blocking certain file types

Let me start out by saying that I've looked through the code for izap on the server, and I'm still completely confused. I have NO idea how to block users from uploading certain file types (i.e. wmv, 3gp, other formats that just don't work). Can anyone point me in the right direction on this one? It'd be very helpful since the queue freezes when faced with WMV files (converts to zero byte files). Everything is set up right for Elgg (FFMPEG included), but files will just sit in the queue and block everything else from converting. How can I stop certain file types from being uploaded?

The ability to block either certain file types or all file types but specified types would also be a great feature so one doesn't have to dig around in code.