rtmpdh: Do global initialization before running the test
authorMartin Storsjö <martin@martin.st>
Wed, 23 Nov 2016 21:27:26 +0000 (23:27 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 24 Nov 2016 11:59:17 +0000 (13:59 +0200)
commit537b5b773b317af79d3a5b576ee9683e15ed84f6
tree1f5d8f7752f6af03ab37478f7e5fc60fccc71e34
parent2f99117f6ff24ce5be2abb9e014cb8b86c2aa0e0
rtmpdh: Do global initialization before running the test

The rtmpdh code can use crypto libraries which may require
a process global init. (gcrypt is one of the libraries
where the rtmpdh test code can fail if global init hasn't been
done, depending on gcrypt version.)

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/tests/rtmpdh.c