encodedTimeBase fix; now stackalloc'ing local AVPacket