Skip to content

Commit

Permalink
Fix various compile warnings (on MSVC2005 and Android)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanangizz committed Oct 30, 2023
1 parent 33f64ba commit 79f7dbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pjmedia/src/pjmedia-codec/and_vid_mediacodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions third_party/build/srtp/srtp_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() */
Expand Down

0 comments on commit 79f7dbd

Please sign in to comment.