ece@ubuntu:~/workspace/FFmpeg/jni$ /home/ece/ndk/ndk-build Install : libffmpeg.so => /home/ece/workspace/FFmpeg/libs/ armeabi Compile thumb : takepics <= /home/ece/workspace/FFmpeg/jni/takepics.c /home/ece/workspace/FFmpeg/jni/takepics.c: In function 'fill_image': /home/ece/workspace/FFmpeg/jni/takepics.c:323: warning: passing argument 2 of 'sws_scale' from incompatible pointer type /home/ece/workspace/FFmpeg/jni/ffmpeg/libswscale/swscale.h:195: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' /home/ece/workspace/FFmpeg/jni/takepics.c: In function 'Java_com_test_Test_takePics': /home/ece/workspace/FFmpeg/jni/takepics.c:634: warning: passing argument 2 of 'sws_scale' from incompatible pointer type /home/ece/workspace/FFmpeg/jni/ffmpeg/libswscale/swscale.h:195: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **' SharedLibrary : libtakepics.so Install : libtakepics.so => /home/ece/workspace/FFmpeg/libs/ armeabi
How can i fix that swscale error? Does anyone know?? HEre is the parameter types of sws_scale() int sws_scale(SwsContext *c, const uint8_t* const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t* const dst[], const int dstStride[]) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en