comparison ffm.h @ 3973:549a09cf23fe libavformat

Remove offset_t typedef and use int64_t directly instead. The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included.
author diego
date Fri, 03 Oct 2008 10:16:29 +0000
parents 1b6245500d8c
children 77e0c7511d41
comparison
equal deleted inserted replaced
3972:c7a831579a13 3973:549a09cf23fe
40 READ_DATA, 40 READ_DATA,
41 }; 41 };
42 42
43 typedef struct FFMContext { 43 typedef struct FFMContext {
44 /* only reading mode */ 44 /* only reading mode */
45 offset_t write_index, file_size; 45 int64_t write_index, file_size;
46 int read_state; 46 int read_state;
47 uint8_t header[FRAME_HEADER_SIZE+4]; 47 uint8_t header[FRAME_HEADER_SIZE+4];
48 48
49 /* read and write */ 49 /* read and write */
50 int first_packet; /* true if first packet, needed to set the discontinuity tag */ 50 int first_packet; /* true if first packet, needed to set the discontinuity tag */