ffmpeg/libavformat
Ricardo Constantino d50b5d547f rtmpdh: Initialize gcrypt before using it
Either disabling or init'ing secure memory is required after the use
of gcry_check_version. From a look at the functions rtmpdh uses, I
noticed none require the use of secure memory, so we disable it [1][2].

This resolves some errors returned by rtmpdh code with uninitialized
gcrypt, especifically:
Fatal: failed to create the RNG lock: Invalid argument
FATAL: failed to acquire the FSM lock in libgrypt: Invalid argument

Version "1.5.4" was arbitrarily chosen. An older version probably works
as well, but I couldn't compile older versions to test on my machine.

[1]
https://gnupg.org/documentation/manuals/gcrypt/Initializing-the-library.html
[2]
https://www.gnupg.org/documentation/manuals/gcrypt/Controlling-the-library.html

Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-12 00:56:02 +01:00
..
2015-10-30 03:02:41 +01:00
2015-11-03 12:26:09 +01:00
2015-11-12 04:39:14 +01:00
2015-11-12 04:39:14 +01:00
2015-11-30 10:58:46 -05:00
2016-01-04 13:44:16 +01:00
2015-10-04 01:37:31 +02:00
2015-10-29 21:26:43 +01:00
2016-01-11 17:16:18 +01:00
2015-11-21 21:03:51 +01:00
2015-12-27 21:44:15 +01:00
2015-12-19 09:33:49 -08:00
2015-12-27 21:44:14 +01:00
2014-08-24 11:05:42 +00:00
2015-05-26 19:54:41 +02:00
2016-01-08 23:27:10 +01:00
2015-05-31 19:04:52 +02:00
2014-07-13 19:18:31 +02:00
2014-07-13 19:18:31 +02:00
2014-08-15 22:47:45 +02:00
2015-12-20 12:22:45 +01:00
2015-11-30 10:58:46 -05:00
2015-11-06 13:45:50 +01:00
2015-11-20 20:52:37 +01:00
2015-09-01 13:35:37 +02:00
2014-10-21 03:52:27 +02:00
2016-01-01 18:31:49 +01:00
2015-10-26 23:24:45 -07:00
2014-03-08 12:36:57 +01:00
2015-11-12 04:39:14 +01:00
2015-11-23 18:34:52 -08:00
2015-01-11 00:35:01 +01:00
2015-10-20 09:41:11 +02:00
2015-10-25 11:05:56 +01:00
2015-10-25 17:37:17 +01:00