return fp;
}
-void aacenc_getmainargs(int *argc, char ***argv)
+int aacenc_seekable(FILE *fp)
{
- return;
-}
-
-int aacenc_fprintf(FILE *fp, const char *fmt, ...)
-{
- va_list ap;
- int cnt;
-
- va_start(ap, fmt);
- cnt = vfprintf(fp, fmt, ap);
- va_end(ap);
- return cnt;
+ return fseek(fp, 0, SEEK_CUR) == 0;
}
/*
#include <errno.h>
#include <iconv.h>
-#if HAVE_LOCALCHARSET_H
-#include <localcharset.h>
+#if HAVE_LIBCHARSET_H
+#include <libcharset.h>
#elif HAVE_LANGINFO_H
#include <langinfo.h>
static const char *locale_charset(void)