Several members of structures denote offsets inside dynamic buffers and therefore always fit into an int. So it is unnecessary to use an int64_t for them.
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> --- libavformat/matroskaenc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 63ad6e47b4..e024c58c84 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -95,11 +95,11 @@ typedef struct mkv_track { int write_dts; int has_cue; int sample_rate; - int64_t sample_rate_offset; + int sample_rate_offset; int64_t last_timestamp; int64_t duration; - int64_t duration_offset; - int64_t codecpriv_offset; + int duration_offset; + int codecpriv_offset; int64_t ts_offset; } mkv_track; @@ -134,7 +134,7 @@ typedef struct MatroskaMuxContext { AVIOContext *cluster_bc; int64_t cluster_pos; ///< file offset of the current cluster int64_t cluster_pts; - int64_t duration_offset; + int duration_offset; int64_t duration; mkv_seekhead *seekhead; mkv_cues *cues; -- 2.20.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".