mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
fix pts handling in ffm
Originally committed as revision 13683 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user