Fix typos in AVCodecContext
Fix packet reading; implement basic video viewer