fix pts handling in ffm

Originally committed as revision 13683 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier
2008-06-07 00:49:03 +00:00
parent c07d64c890
commit 2940b38ef2
4 changed files with 10 additions and 30 deletions

View File

@@ -32,10 +32,6 @@
#define FRAME_HEADER_SIZE 8
#define FLAG_KEY_FRAME 0x01
typedef struct FFMStream {
int64_t pts;
} FFMStream;
enum {
READ_HEADER,
READ_DATA,
@@ -55,6 +51,7 @@ typedef struct FFMContext {
int64_t pts;
uint8_t *packet_ptr, *packet_end;
uint8_t packet[FFM_PACKET_SIZE];
int64_t start_time;
} FFMContext;
#endif /* FFMPEG_FFM_H */