aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tests/rtmpdh.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-04-04 15:56:36 -0300
committerJames Almer <jamrial@gmail.com>2017-04-04 15:56:36 -0300
commit30518a68a74b82abaf2a8f230fee18b7e6c477fa (patch)
tree0eff78e2746d159bb1aa5f392b02caf54a816d02 /libavformat/tests/rtmpdh.c
parent7d88bc10d57b035c3545f931adef360dcf8d407a (diff)
parent537b5b773b317af79d3a5b576ee9683e15ed84f6 (diff)
downloadffmpeg-30518a68a74b82abaf2a8f230fee18b7e6c477fa.tar.gz
Merge commit '537b5b773b317af79d3a5b576ee9683e15ed84f6'
* commit '537b5b773b317af79d3a5b576ee9683e15ed84f6': rtmpdh: Do global initialization before running the test Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/tests/rtmpdh.c')
-rw-r--r--libavformat/tests/rtmpdh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/tests/rtmpdh.c b/libavformat/tests/rtmpdh.c
index 929b3f3ff2..77139a539c 100644
--- a/libavformat/tests/rtmpdh.c
+++ b/libavformat/tests/rtmpdh.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavformat/avformat.h"
#include "libavformat/rtmpdh.c"
#include <stdio.h>
@@ -150,6 +151,7 @@ fail:
int main(void)
{
+ avformat_network_init();
if (test_random_shared_secret() < 0)
return 1;
if (test_ref_data() < 0)