Esempio n. 1
0
        public AVPacket()
        {
            AutoGen.AVPacket packet = new AutoGen.AVPacket();
            _handle = GCHandle.Alloc(packet, GCHandleType.Pinned);

            _packet = (AutoGen.AVPacket*)_handle.AddrOfPinnedObject().ToPointer();
        }
Esempio n. 2
0
 public AVPacket(AutoGen.AVPacket* packet)
 {
     _packet = packet;
 }