From: James Zern Date: Wed, 17 Aug 2022 00:54:14 +0000 (-0700) Subject: webmdec,WebmInputContext: make timestamp_ns signed X-Git-Tag: v1.13.0-rc1~104^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb18d72c306b8400279191940ec0861af338bb5a;p=libvpx webmdec,WebmInputContext: make timestamp_ns signed this matches the type returned from libwebm, which uses -1 as an error; quiets integer sanitizer warnings of the form: implicit conversion from type 'long long' of value -1 (64-bit, signed) to type 'uint64_t' (aka 'unsigned long') changed the value to 18446744073709551615 (64-bit, unsigned) Bug: b/229626362 Change-Id: Id3966912f802aee3c0f7852225b55f3057c3e76a --- diff --git a/webmdec.h b/webmdec.h index d8618b07d..6ae7ee16d 100644 --- a/webmdec.h +++ b/webmdec.h @@ -27,7 +27,7 @@ struct WebmInputContext { const void *block; int block_frame_index; int video_track_index; - uint64_t timestamp_ns; + int64_t timestamp_ns; int is_key_frame; int reached_eos; };