[xiph-commits] r16013 - trunk/ffmpeg2theora/src
j at svn.xiph.org
j at svn.xiph.org
Mon May 18 15:00:34 PDT 2009
Author: j
Date: 2009-05-18 15:00:34 -0700 (Mon, 18 May 2009)
New Revision: 16013
Modified:
trunk/ffmpeg2theora/src/avinfo.c
Log:
mingw32 does not like %qx
Modified: trunk/ffmpeg2theora/src/avinfo.c
===================================================================
--- trunk/ffmpeg2theora/src/avinfo.c 2009-05-18 15:54:51 UTC (rev 16012)
+++ trunk/ffmpeg2theora/src/avinfo.c 2009-05-18 22:00:34 UTC (rev 16013)
@@ -298,7 +298,11 @@
void json_oshash(FILE *output, char const *filename) {
char hash[16];
+#ifdef WIN32
+ sprintf(hash,"%16I64x", gen_oshash(filename));
+#else
sprintf(hash,"%qx", gen_oshash(filename));
+#endif
json_add_key_value(output, "oshash", (void *)hash, JSON_STRING, 0);
}
More information about the commits
mailing list