Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit f57856a

Browse files
committed
Update hap.c to match reference repo
The small change to argument checking doesn't affect this implementation
1 parent 3f7f264 commit f57856a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

external/hap/hap.c

+1
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ unsigned int HapDecode(const void *inputBuffer, unsigned long inputBufferBytes,
395395
Check arguments
396396
*/
397397
if (inputBuffer == NULL
398+
|| callback == NULL
398399
|| outputBuffer == NULL
399400
|| outputBufferTextureFormat == NULL
400401
)

0 commit comments

Comments
 (0)