From: wchang kim Date: Fri, 30 Jun 2023 00:37:38 +0000 (+0900) Subject: Fixed the build error using gcc 13 X-Git-Tag: accepted/tizen/unified/20230703.093340^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5452f4ccd66d86e9f7908cafde12d1ed6345e8d9;p=platform%2Fcore%2Fapi%2Fmediacodec.git Fixed the build error using gcc 13 Change-Id: I672152938ef75e536feb7e4b81a5a09966901b29 --- diff --git a/src/media_codec_port_gst.c b/src/media_codec_port_gst.c index bb950ce..6198e44 100644 --- a/src/media_codec_port_gst.c +++ b/src/media_codec_port_gst.c @@ -2460,7 +2460,9 @@ gchar *__mc_get_gst_input_format(media_format_mimetype_e mimetype, bool is_hw) default: break; } - LOGD("input packet format : %s", format); + + LOGD("input packet format : %s", format ? format : "(null)" ); + return format; }