C2SoftFlacEnc: Fix integer overflows

Fix integer overflows leading to crash in C2SoftFlacEnc.cpp by changing data type of timestamp variables

Bug: 292860985
Test: POC in bug descriptions

Test: atest VtsHalMediaC2V1_0TargetAudioEncTest
Test: atest android.mediav2.cts.AudioEncoderTest

Change-Id: I92b171ae0f095f2eb57a444be768724196a808c0
diff --git a/media/codec2/components/flac/C2SoftFlacEnc.h b/media/codec2/components/flac/C2SoftFlacEnc.h
index a971ab5..7be2a1a 100644
--- a/media/codec2/components/flac/C2SoftFlacEnc.h
+++ b/media/codec2/components/flac/C2SoftFlacEnc.h
@@ -71,7 +71,7 @@
     bool mSignalledOutputEos;
     uint32_t mBlockSize;
     bool mIsFirstFrame;
-    uint64_t mAnchorTimeStamp;
+    int64_t mAnchorTimeStamp;
     uint64_t mProcessedSamples;
     // should the data received by the callback be written to the output port
     bool mEncoderWriteData;