1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Merge commit '537b5b773b317af79d3a5b576ee9683e15ed84f6'

* commit '537b5b773b317af79d3a5b576ee9683e15ed84f6':
  rtmpdh: Do global initialization before running the test

Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-04-04 15:56:36 -03:00
commit 30518a68a7

View File

@ -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)