diff options
author | James Almer <jamrial@gmail.com> | 2017-04-04 15:56:36 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-04 15:56:36 -0300 |
commit | 30518a68a74b82abaf2a8f230fee18b7e6c477fa (patch) | |
tree | 0eff78e2746d159bb1aa5f392b02caf54a816d02 | |
parent | 7d88bc10d57b035c3545f931adef360dcf8d407a (diff) | |
parent | 537b5b773b317af79d3a5b576ee9683e15ed84f6 (diff) | |
download | ffmpeg-30518a68a74b82abaf2a8f230fee18b7e6c477fa.tar.gz |
Merge commit '537b5b773b317af79d3a5b576ee9683e15ed84f6'
* commit '537b5b773b317af79d3a5b576ee9683e15ed84f6':
rtmpdh: Do global initialization before running the test
Merged-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/tests/rtmpdh.c | 2 |
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) |