From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 2191146C03 for ; Wed, 5 Jul 2023 13:24:25 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9668068C649; Wed, 5 Jul 2023 16:24:22 +0300 (EEST) Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D4FCF68C54B for ; Wed, 5 Jul 2023 16:24:15 +0300 (EEST) Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6b886456f66so4018680a34.0 for ; Wed, 05 Jul 2023 06:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688563454; x=1691155454; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8XPNk96VF9VUS7ABh0u4yStSkdmwhSBLRliaV9fn/Us=; b=KCrv+oxdMv0p/42RxDRhS1O0AOu8cQKSiXlrHPJq2PTGX93nDJx2raeHW3UgM3H9bA H5amFCq0mOWglAQMO5G4Sprvvu3RyFNIlU+/PKFS7s47y+r470Y/KMnnGI+cfPyFqvLP j7C2LfoV5FykGN5zvqOMiKs5GCD1W+UbtW1yLdDoC7a2bLScTFBuDCIH7Hj/7C8sU8hO hUwskKg3dqll1i5v0LCLu8T3NncWXJ9+A3PX3tqHTa2AxYXBuHauBOevLZCTxQKNIrfm ksmawYzA/XIjwnRmvqFb+cVylYAlXD8stBi6ndsNeBT0Lq8Ny2PUmYnuaZAFSSduPM5e WxCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688563454; x=1691155454; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8XPNk96VF9VUS7ABh0u4yStSkdmwhSBLRliaV9fn/Us=; b=dS2vty4SoDmA3Kh6fgamuPaZ2ke02YQn2AVlzcMTYfKxz/guyrjuXbgNtpJs9umHV7 apKR/W7NleGyHpvsgRNyr843LopvFVkkUX8J9tJWfoJO5DyF3k1AXqwvuGYrj214cfGA zFw320TSc11SAXdyrFdN+/LlVb+cI87I5JUvCZ1heL4GU8ahjo9LeAaEz3pKQvvkOQp4 CG0kJD9fQZFia667ysKMViV2SWrxNSOR2UTTvz6xpTQX1us9cn8hytyFtNSzrMpnE/XK FfCR5oiOh06dTeTMZ12WzROTj6U0rukyhpaX5m7D8nyWa7vrI38jMJ1vK1GOEsCb/QWK f5uQ== X-Gm-Message-State: AC+VfDy6E3jEZLgghoReRPtwbp6/rno3Tlz3h+QQzLmdNcMLPNiaP2RB y7i3PeADE5fpG9fkQCMg1aIV2hABFrw= X-Google-Smtp-Source: ACHHUZ6DZ1FwKpnETYVOSfIMBNBnIaixeFW/GboIs2epLkz1YzaW9qf4jLEfvLBFtEy/6Q+i3II+1g== X-Received: by 2002:a05:6830:450:b0:6b7:296d:3d4e with SMTP id d16-20020a056830045000b006b7296d3d4emr12747915otc.30.1688563453768; Wed, 05 Jul 2023 06:24:13 -0700 (PDT) Received: from [192.168.0.12] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id w26-20020a056830145a00b006b753685cc5sm9090220otp.79.2023.07.05.06.24.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jul 2023 06:24:13 -0700 (PDT) Message-ID: <80d47ea2-6d6c-9a7d-dd89-67ecdf7ac4a1@gmail.com> Date: Wed, 5 Jul 2023 10:24:12 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230704232614.2785-1-jamrial@gmail.com> <168856099355.542.16944312795769811824@lain.khirnov.net> From: James Almer In-Reply-To: <168856099355.542.16944312795769811824@lain.khirnov.net> Subject: Re: [FFmpeg-devel] [PATCH v3 1/3] avutil/random_seed: use fread() in read_random() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 7/5/2023 9:43 AM, Anton Khirnov wrote: > Quoting James Almer (2023-07-05 01:26:12) >> This ensures the requested amount of bytes is read. >> Also remove /dev/random as it's no longer necessary. >> >> Signed-off-by: James Almer >> --- >> libavutil/random_seed.c | 23 ++++++++++++----------- >> 1 file changed, 12 insertions(+), 11 deletions(-) > > LGTM Applied. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".