[FFmpeg-devel] [PATCH] rtmpdh: Initialize gcrypt before using it

Ricardo Constantino wiiaboo at gmail.com
Tue Jan 12 16:53:32 CET 2016


On 12 January 2016 at 05:05, Timothy Gu <timothygu99 at gmail.com> wrote:

> Are you sure you want to initialize libgcrypt unconditionally as you are
> doing here?
>

I don't think it's unconditional. It only tries to initialize gcrypt if
it's not been initialized already.

>+        if (!gcry_control(GCRYCTL_INITIALIZATION_FINISHED_P)) { \

But I'm not knowledgeable with C enough to argument that.


More information about the ffmpeg-devel mailing list