Change PTS origin type from uint64_t to int64_t

It is initialized from AVPacket.pts, which is an int64_t.
This commit is contained in:
Romain Vimont
2023-02-17 08:41:03 +01:00
parent 8eef96012b
commit c6cd4ff8fe
2 changed files with 3 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ struct sc_recorder {
struct sc_size declared_frame_size;
bool header_written;
uint64_t pts_origin;
int64_t pts_origin;
sc_thread thread;
sc_mutex mutex;