Commit 30518a68 authored by James Almer's avatar James Almer

Merge commit '537b5b77'

* commit '537b5b77':
  rtmpdh: Do global initialization before running the test
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 7d88bc10 537b5b77
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavformat/avformat.h"
#include "libavformat/rtmpdh.c" #include "libavformat/rtmpdh.c"
#include <stdio.h> #include <stdio.h>
...@@ -150,6 +151,7 @@ fail: ...@@ -150,6 +151,7 @@ fail:
int main(void) int main(void)
{ {
avformat_network_init();
if (test_random_shared_secret() < 0) if (test_random_shared_secret() < 0)
return 1; return 1;
if (test_ref_data() < 0) if (test_ref_data() < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment