Changeset 392
- Timestamp:
- 2004-02-06 08:26:00 (5 years ago)
- Files:
-
- liboggz/trunk/src/liboggz/oggz_auto.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
liboggz/trunk/src/liboggz/oggz_auto.c
r353 r392 166 166 167 167 static int 168 auto_annodex (OGGZ * oggz, ogg_packet * op, long serialno, void * user_data) 169 { 170 unsigned char * header = op->packet; 171 172 if (op->bytes < 8) return 0; 173 174 if (strncmp ((char *)header, "Annodex", 8)) return 0; 175 if (!op->b_o_s) return 0; 176 177 /* Yeah ... set it up with a "linear" metric with numerator 0 :) */ 178 oggz_set_metric_linear (oggz, serialno, 0, 1); 179 180 return 1; 181 } 182 183 static int 168 184 auto_anxdata (OGGZ * oggz, ogg_packet * op, long serialno, void * user_data) 169 185 { … … 194 210 auto_vorbis, 195 211 auto_theora, 212 auto_annodex, 196 213 auto_anxdata, 197 214 NULL