Skip to content

Commit

Permalink
Log line fix (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
disa6302 authored Apr 24, 2024
1 parent 03c78cd commit 1f1d947
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/client/src/Client.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,10 @@ STATUS stopKinesisVideoStreamSync(STREAM_HANDLE streamHandle)
BOOL releaseClientSemaphore = FALSE, releaseStreamSemaphore = FALSE, streamsListLock = FALSE;
PKinesisVideoStream pKinesisVideoStream = FROM_STREAM_HANDLE(streamHandle);

DLOGI("Synchronously stopping Kinesis Video Stream %016" PRIx64 ".", streamHandle);

CHK(pKinesisVideoStream != NULL && pKinesisVideoStream->pKinesisVideoClient != NULL, STATUS_NULL_ARG);

DLOGI("[%s] Synchronously stopping Kinesis Video Stream", pKinesisVideoStream->streamInfo.name);

// Shutdown sequencer
CHK_STATUS(semaphoreAcquire(pKinesisVideoStream->pKinesisVideoClient->base.shutdownSemaphore, INFINITE_TIME_VALUE));
releaseClientSemaphore = TRUE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,8 +1103,8 @@ typedef SIZE_T ATOMIC_BOOL;
//
// Aligns an integer X value up or down to alignment A
//
#define ROUND_DOWN(X, A) ((X) & ~((A) -1))
#define ROUND_UP(X, A) (((X) + (A) -1) & ~((A) -1))
#define ROUND_DOWN(X, A) ((X) & ~((A) - 1))
#define ROUND_UP(X, A) (((X) + (A) - 1) & ~((A) - 1))

//
// Macros to swap endinanness
Expand All @@ -1129,7 +1129,7 @@ typedef SIZE_T ATOMIC_BOOL;
//
// Check if at most 1 bit is set
//
#define CHECK_POWER_2(x) !((x) & ((x) -1))
#define CHECK_POWER_2(x) !((x) & ((x) - 1))

//
// Checks if only 1 bit is set
Expand Down
2 changes: 1 addition & 1 deletion src/heap/src/AivHeap.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ typedef struct {
/**
* Gets the allocation header
*/
#define GET_AIV_ALLOCATION_HEADER(p) ((PAIV_ALLOCATION_HEADER) (p) -1)
#define GET_AIV_ALLOCATION_HEADER(p) ((PAIV_ALLOCATION_HEADER) (p) - 1)

/**
* Retrieve the allocation size
Expand Down

0 comments on commit 1f1d947

Please sign in to comment.