Add GIF support. Add a bool to show whether a media file has audio or
not. Rework the EBML parser to make it check for audio tracks. Make
the JPEG parser easier to read.
Add support for GIF and media with audio tracks.