]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp4.h
mp4: Use read/write functions from portable_io.h.
[paraslash.git] / mp4.h
diff --git a/mp4.h b/mp4.h
index 43874a03566468f7f0fead4a0aa167763ede7707..28cfbce499143d37bb5287fba2ad72cd9b47614c 100644 (file)
--- a/mp4.h
+++ b/mp4.h
@@ -78,7 +78,6 @@ typedef struct
     mp4ff_callback_t *stream;
     int64_t current_position;
 
-    int32_t moov_read;
     uint64_t moov_offset;
     uint64_t moov_size;
     uint8_t last_atom;
@@ -105,7 +104,7 @@ void mp4ff_get_decoder_config(const mp4ff_t *f, const int track,
                unsigned char** ppBuf, unsigned int* pBufSize);
 mp4ff_t *mp4ff_open_read(mp4ff_callback_t *f);
 void mp4ff_close(mp4ff_t *f);
-int32_t mp4ff_read_sample_getsize(mp4ff_t *f, const int track, const int sample);
+int32_t mp4ff_get_sample_size(const mp4ff_t *f, int track, int sample);
 uint32_t mp4ff_get_sample_rate(const mp4ff_t *f, const int32_t track);
 uint32_t mp4ff_get_channel_count(const mp4ff_t * f,const int32_t track);
 int32_t mp4ff_num_samples(const mp4ff_t *f, const int track);