diff --git a/pjmedia/src/pjmedia-codec/and_vid_mediacodec.cpp b/pjmedia/src/pjmedia-codec/and_vid_mediacodec.cpp index 609f62de84..4ee7e17a61 100644 --- a/pjmedia/src/pjmedia-codec/and_vid_mediacodec.cpp +++ b/pjmedia/src/pjmedia-codec/and_vid_mediacodec.cpp @@ -1745,6 +1745,8 @@ static pj_status_t decode_h264(pjmedia_vid_codec *codec, buf_pos += frm_size; } + PJ_UNUSED_ARG(frm_cnt); + return PJ_SUCCESS; } diff --git a/third_party/build/srtp/srtp_config.h b/third_party/build/srtp/srtp_config.h index 333595dd58..4558f084b6 100644 --- a/third_party/build/srtp/srtp_config.h +++ b/third_party/build/srtp/srtp_config.h @@ -151,6 +151,7 @@ # pragma warning(disable:4701) // potentially uninitialized local variable used # pragma warning(disable:4702) // unreachable code # pragma warning(disable:4703) // potentially uninitialized local pointer variable used +# pragma warning(disable:4204) // nonstandard extension used : non-constant aggregate initializer #endif /* clock() */