fix for codecs that can change resolution (DnxHD)
exposed more libavcodec
Packet.decode yields frame and works with codecs with CODEC_CAP_DELAY
updated examples use packet.decode as a generator
wrong stream selected
Merge pull request #3 from markreidvfx/master

Fix for codecs that can change resolution (e.g. DNxHD)