awslabs / amazon-kinesis-video-streams-producer-c

https://awslabs.github.io/amazon-kinesis-video-streams-producer-c/group__PublicMemberFunctions.html
Apache License 2.0
54 stars 72 forks source link

The printed length and data type do not match #148

Closed Nomidia closed 3 years ago

Nomidia commented 3 years ago

https://github.com/awslabs/amazon-kinesis-video-streams-producer-c/blob/02118da186bfd9e7944ffe375acc003eeb224e2f/src/source/ContinuousRetryStreamCallbacks.c#L292

The type of statusCode is UINT32, but the printed type is long long.

Log:

continuousRetryStreamErrorReportHandler(): Reporting stream error. Errored timecode: 16076747225630000 Status: 0x66ac52000062
MushMal commented 3 years ago

It does look like an error. Do you want to push a PR for it? It should simply be 0x%08x