Changeset 585
- Timestamp:
- 2004-09-19 23:06:28 (4 years ago)
- Files:
-
- liboggz/trunk/src/liboggz/oggz.c (modified) (1 diff)
- liboggz/trunk/src/liboggz/oggz_auto.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
liboggz/trunk/src/liboggz/oggz.c
r540 r585 185 185 oggz_vector_foreach (oggz->streams, oggz_stream_clear); 186 186 oggz_vector_delete (oggz->streams); 187 188 if (oggz->metric_internal) 189 oggz_free (oggz->metric_user_data); 187 190 188 191 if (oggz->file != NULL) { liboggz/trunk/src/liboggz/oggz_auto.c
r573 r585 48 48 #include "oggz_macros.h" 49 49 50 /* Allow use of internal metrics; ie. the user_data for these gets free'd 51 * when the metric is overwritten, or on close */ 52 int oggz_set_metric_internal (OGGZ * oggz, long serialno, OggzMetric metric, 53 void * user_data, int internal); 54 50 55 #define INT32_LE_AT(x) _le_32((*(ogg_int32_t *)(x))) 51 56 #define INT32_BE_AT(x) _be_32((*(ogg_int32_t *)(x))) … … 174 179 #endif 175 180 176 /*oggz_set_metric_internal (oggz, serialno, auto_theora_metric, tdata, 1);*/177 oggz_set_metric (oggz, serialno, auto_theora_metric, tdata);181 oggz_set_metric_internal (oggz, serialno, auto_theora_metric, tdata, 1); 182 /*oggz_set_metric (oggz, serialno, auto_theora_metric, tdata);*/ 178 183 179 184 return 1;