view osdep/vsscanf.c @ 14337:d4a00d0614fb

1.814: sstep is usually inaccurate. 1.815: use a configurable-size ringbuffer instead of a pipe for buffering key events. 1.816: better explain -nodouble. 1.817: Add a file= suboption to set output file. (md5sum) 1.818: keyframes are more like 10 - 20 seconds apart, not 120 (was already corrected) 1.819: Some fixes and better wording, remove alsa9 and alsa1x audio output drivers and make some numeric options line up properly. 1.820: better mention -vo yuv4mpeg can change output filename
author kraymer
date Mon, 03 Jan 2005 21:19:13 +0000
parents edfe34c5405d
children 08cac43f1e38
line wrap: on
line source

#include "../config.h"

#ifndef	HAVE_VSSCANF
/* system has no vsscanf.  try to provide one */

#include <stdio.h>
#include <stdarg.h>

int
vsscanf(const char *str, const char *format, va_list ap)
{
    /* XXX: can this be implemented in a more portable way? */
    long p1 = va_arg(ap, long);
    long p2 = va_arg(ap, long);
    long p3 = va_arg(ap, long);
    long p4 = va_arg(ap, long);
    long p5 = va_arg(ap, long);
    return sscanf(str, format, p1, p2, p3, p4, p5);
}
#endif