exposed more libavcodec
Packet.decode yields frame and works with codecs with CODEC_CAP_DELAY
updated examples use packet.decode as a generator