[FFmpeg-devel] [PATCH] Fix usleep in ffplay.c
Måns Rullgård
mans
Mon Aug 23 20:49:23 CEST 2010
Dave Yeo <daveryeo at telus.net> writes:
> Hi, I thought I sent this some time ago but obviously didn't.
> Dave
>
> Index: ffplay.c
> ===================================================================
> --- ffplay.c (revision 24871)
> +++ ffplay.c (working copy)
> @@ -19,6 +19,9 @@
> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> */
>
> +/* needed for usleep() */
> +#define _XOPEN_SOURCE 600
I would put the comment on the same line, if at all. The #define is
obviously correct. Thanks.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list