mirror of https://git.ffmpeg.org/ffmpeg.git
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:
commit
30518a68a7
|
@ -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:
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue