clean memory: re-init AVPacket
adding build of static library