package com.nativelibs4java.ffmpeg.avformat;
import com.nativelibs4java.ffmpeg.avcodec.AVPacket;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * <i>native declaration : libavformat/avformat.h</i><br>
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.free.fr/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> or <a href="http://bridj.googlecode.com/">BridJ</a> .
 */
@Library("avformat") 
public class AVPacketList extends StructObject {
	public AVPacketList() {
		super();
	}
	public AVPacketList(Pointer pointer) {
		super(pointer);
	}
	/// C type : AVPacket
	@Field(0) 
	public AVPacket pkt() {
		return this.io.getNativeObjectField(this, 0);
	}
	/// C type : AVPacketList*
	@Field(1) 
	public Pointer<AVPacketList > next() {
		return this.io.getPointerField(this, 1);
	}
	/// C type : AVPacketList*
	@Field(1) 
	public AVPacketList next(Pointer<AVPacketList > next) {
		this.io.setPointerField(this, 1, next);
		return this;
	}
	/// C type : AVPacketList*
	public final Pointer<AVPacketList > next_$eq(Pointer<AVPacketList > next) {
		next(next);
		return next;
	}
}
