From: Sangchul Lee Date: Thu, 1 Apr 2021 01:40:00 +0000 (+0900) Subject: fixup! media_format: Add missing null checking for parameters X-Git-Tag: submit/tizen/20210401.020017^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F256280%2F1;p=platform%2Fcore%2Fapi%2Fmediatool.git fixup! media_format: Add missing null checking for parameters Change-Id: I4b2467256e371125e44c7f0d5ab4ab7ee8073ba6 Signed-off-by: Sangchul Lee --- diff --git a/src/media_format.c b/src/media_format.c index 8ff4270..d15ab16 100644 --- a/src/media_format.c +++ b/src/media_format.c @@ -975,6 +975,7 @@ int media_format_channel_positions_from_mask(media_format_h fmt, uint64_t channe { MEDIA_FORMAT_INSTANCE_CHECK(fmt); MEDIA_FORMAT_NULL_ARG_CHECK(position); + MEDIA_FORMAT_NULL_ARG_CHECK(*position); media_format_s *fmt_handle; fmt_handle = (media_format_s *)fmt;