this is port of ffmpeg for android (this is app, but in future i will do android lib from it and then system will be able to convert videos automatically)
I set the CONFIG_NETWORK=yes,CONFIG_HTTP_PROTOCOL=yes,CONFIG_TCP_PROTOCOL=yes,+#define CONFIG_NETWORK 1,define CONFIG_HTTP_PROTOCOL 1,define CONFIG_TCP_PROTOCOL 1,//typedef int socklen_t;
I set the CONFIG_NETWORK=yes,CONFIG_HTTP_PROTOCOL=yes,CONFIG_TCP_PROTOCOL=yes,+#define CONFIG_NETWORK 1,define CONFIG_HTTP_PROTOCOL 1,define CONFIG_TCP_PROTOCOL 1,//typedef int socklen_t;
config ffmpeg: jni/libffmpeg/config.h
-CONFIG_HTTP_PROTOCOL 0 -CONFIG_TCP_PROTOCOL 0
+CONFIG_HTTP_PROTOCOL 1 +CONFIG_TCP_PROTOCOL 1
jni/libffmpeg/config-arm.mak: -!CONFIG_TCP_PROTOCOL=yes -!CONFIG_HTTP_PROTOCOL=yes
+CONFIG_TCP_PROTOCOL=yes +CONFIG_HTTP_PROTOCOL=yes
but,the return value is IllegalStateException;I look at the jni,the return value of getintfield is null.