New upstream version 1.0.0
[fdkaac.git] / src / compat_posix.c
index e101ff70fa3fdfccab558d1e47e5fc167edf869e..741c87fa8091266c6b4cf122d52354dd0d87ac2f 100644 (file)
@@ -32,20 +32,9 @@ FILE *aacenc_fopen(const char *name, const char *mode)
     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;
 }
 
 /*
@@ -70,8 +59,8 @@ char *aacenc_to_utf8(const char *s)
 #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)
This page took 0.009489 seconds and 4 git commands to generate.