Mercurial > libavformat.hg
diff nut.h @ 4076:a5c615b9d8ec libavformat
remove _t for POSIX compatibility.
author | michael |
---|---|
date | Thu, 11 Dec 2008 19:06:24 +0000 |
parents | 1b6245500d8c |
children | a3dab5ebe140 |
line wrap: on
line diff
--- a/nut.h Thu Dec 11 18:48:08 2008 +0000 +++ b/nut.h Thu Dec 11 19:06:24 2008 +0000 @@ -50,14 +50,14 @@ FLAG_MATCH_TIME =2048, ///<If set, match_time_delta is coded in the frame header FLAG_CODED =4096, ///<if set, coded_flags are stored in the frame header FLAG_INVALID =8192, ///<if set, frame_code is invalid -}flag_t; +} Flag; typedef struct { uint64_t pos; uint64_t back_ptr; // uint64_t global_key_pts; int64_t ts; -} syncpoint_t; +} Syncpoint; typedef struct { uint16_t flags; @@ -106,8 +106,8 @@ void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val); int64_t ff_lsb2full(StreamContext *stream, int64_t lsb); -int ff_nut_sp_pos_cmp(syncpoint_t *a, syncpoint_t *b); -int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b); +int ff_nut_sp_pos_cmp(Syncpoint *a, Syncpoint *b); +int ff_nut_sp_pts_cmp(Syncpoint *a, Syncpoint *b); void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts); extern const Dispositions ff_nut_dispositions[];