Page MenuHomePhabricator

No OneTemporary

diff --git a/deps/patches/003_vpx.patch b/deps/patches/003_vpx.patch
new file mode 100644
index 00000000..5de4e737
--- /dev/null
+++ b/deps/patches/003_vpx.patch
@@ -0,0 +1,15 @@
+--- pjsip/pjmedia/src/pjmedia-codec/vpx.c 2021-06-23 09:50:03.983367807 +0200
++++ pjsip/pjmedia/src/pjmedia-codec/vpx.c 2021-06-23 09:49:17.753967323 +0200
+@@ -507,8 +507,10 @@
+ PJ_ASSERT_RETURN(codec, PJ_EINVAL);
+
+ vpx_data = (vpx_codec_data*) codec->codec_data;
+- vpx_codec_destroy(&vpx_data->enc);
+- vpx_codec_destroy(&vpx_data->dec);
++ if (&vpx_data->enc)
++ vpx_codec_destroy(&vpx_data->enc);
++ if (&vpx_data->dec)
++ vpx_codec_destroy(&vpx_data->dec);
+
+ return PJ_SUCCESS;
+ }

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 23, 3:16 AM (13 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3408649
Default Alt Text
(714 B)

Event Timeline