Added the ability to decode H.264 frames using libavcodec and refactored code to make it a little cleaner.