diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-29 11:21:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-29 11:21:35 +0200 |
commit | 392832fc3ab1b506b750ec8a1bcc83e1396bc7c9 (patch) | |
tree | a80ce21a711d5aee79f11032c24d5c5bca5d36d9 | |
parent | c7bd6a54af1b5bf290deff928aab7897ce6b99a8 (diff) | |
parent | 78efc69e7c990226f4b913721ef1b308ca5bfa04 (diff) | |
download | ffmpeg-392832fc3ab1b506b750ec8a1bcc83e1396bc7c9.tar.gz |
Merge commit '78efc69e7c990226f4b913721ef1b308ca5bfa04'
* commit '78efc69e7c990226f4b913721ef1b308ca5bfa04':
rtmpdh: Make sure ret is initialized in the nettle version of bn_hex2bn
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtmpdh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtmpdh.c b/libavformat/rtmpdh.c index 7d6734daac..acfa62628c 100644 --- a/libavformat/rtmpdh.c +++ b/libavformat/rtmpdh.c @@ -77,6 +77,8 @@ bn_new(bn); \ if (bn) \ ret = (mpz_set_str(bn, buf, 16) == 0); \ + else \ + ret = 1; \ } while (0) #define bn_modexp(bn, y, q, p) mpz_powm(bn, y, q, p) #define bn_random(bn, num_bytes) \ |