예제 #1
0
        public AVPacket()
        {
            AutoGen.AVPacket packet = new AutoGen.AVPacket();
            _handle = GCHandle.Alloc(packet, GCHandleType.Pinned);

            _packet = (AutoGen.AVPacket*)_handle.AddrOfPinnedObject().ToPointer();
        }
예제 #2
0
 public AVPacket(AutoGen.AVPacket* packet)
 {
     _packet = packet;
 }