[FFmpeg-devel] [PATCH] avutil: Improved code coverage for libavutil/random_seed.c

Michael Niedermayer michael at niedermayer.cc
Wed Dec 21 03:50:08 EET 2016


On Tue, Dec 20, 2016 at 05:07:29PM -0800, Thomas Turner wrote:
> Signed-off-by: Thomas Turner <thomastdt at googlemail.com>
> ---
>  libavutil/tests/random_seed.c | 40 ++++++++++++++++++++++++----------------
>  tests/ref/fate/random_seed    |  1 +
>  2 files changed, 25 insertions(+), 16 deletions(-)
> 
> diff --git a/libavutil/tests/random_seed.c b/libavutil/tests/random_seed.c
> index ebe9b3e..f00b962 100644
> --- a/libavutil/tests/random_seed.c
> +++ b/libavutil/tests/random_seed.c
> @@ -18,29 +18,37 @@
>   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
>   */
>  

> -#define TEST 1

this should be left in here


> -#include "libavutil/random_seed.c"
>  
> + #include "libavutil/random_seed.c"

this should not change, also i think the "#" must always be i the
first column according to some standard (probably C standard)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161221/dbbd5ed6/attachment.sig>


More information about the ffmpeg-devel mailing list