diff -r 63854066607a -r ce823be21819 gst-plugins-nuvdemux/src/gstnuvdemux.h --- a/gst-plugins-nuvdemux/src/gstnuvdemux.h Mon Nov 06 22:11:21 2006 +0000 +++ b/gst-plugins-nuvdemux/src/gstnuvdemux.h Thu Nov 09 19:12:55 2006 +0000 @@ -38,6 +38,8 @@ #define GST_IS_NUV_DEMUX_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NUV_DEMUX)) +#define DEMUX_INDEX_SIZE_MAX (100000) + /* Indexes (timecodes/offsets) conversion structures */ typedef struct { @@ -51,7 +53,7 @@ gint i_idx; gint i_idx_max; - nuv_demux_index_entry *idx; + nuv_demux_index_entry idx[DEMUX_INDEX_SIZE_MAX]; } nuv_demux_index; /* */ @@ -107,7 +109,7 @@ 0x02: gauss 5 pixel (8,1,1,1,1)/12 0x04: cartoon filter */ - gint i_timecode; /* ms */ + gint32 i_timecode; /* ms */ gint i_length; /* V,A,T: length of following data S: length of packet correl */