Skip to content

Commit

Permalink
Update opus.c - provide both options for Opus library names
Browse files Browse the repository at this point in the history
  • Loading branch information
sauwming authored Sep 11, 2024
1 parent dbd3aa2 commit e41aa75
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pjmedia/src/pjmedia-codec/opus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,8 +1244,11 @@ static pj_status_t codec_recover( pjmedia_codec *codec,
}

#if defined(_MSC_VER)
# pragma comment(lib, "opus.lib")
# if 1 /* Change to 0 if Opus lib name is "opus.lib" */
# pragma comment(lib, "libopus.a")
# else
# pragma comment(lib, "opus.lib")
# endif
#endif


#endif /* PJMEDIA_HAS_OPUS_CODEC */

0 comments on commit e41aa75

Please sign in to comment.