[FFmpeg-devel] [PATCH] lavf/riff: add riff-test program

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Sep 14 16:58:06 CEST 2012


On 06/09/2012 6:18 PM, Stefano Sabatini wrote:
> +#include <unistd.h>             /* getopt */

Unprotected unistd.h include. Use HAVE_UNISTD_H.

It should also use:

#if !HAVE_GETOPT
#include "compat/getopt.c"
#endif

This is in a similar fashion to the other tests that use getopt,
since 667fb97a.

- Derek


More information about the ffmpeg-devel mailing list