On Thu, May 28, 2015 at 9:43 AM, Martin Storsjö <[email protected]> wrote: > --- > libavformat/rtmpdh.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/libavformat/rtmpdh.c b/libavformat/rtmpdh.c > index 211f4f1..f2deecd 100644 > --- a/libavformat/rtmpdh.c > +++ b/libavformat/rtmpdh.c > @@ -147,11 +147,6 @@ static int dh_compute_key(FF_DH *dh, FFBigNum pub_key_bn, > uint32_t secret_key_len, uint8_t *secret_key) > { > FFBigNum k; > - int num_bytes; > - > - num_bytes = bn_num_bytes(dh->p); > - if (num_bytes <= 0 || num_bytes > MAX_BYTES) > - return -1; > > bn_new(k); > if (!k)
Should be ok -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
