Hi, all
I am trying to modify LIST INFO of the avi file, so I modify the code in avi_save/armffmpeg/libavformat/avformat.h
form
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
to
#define LIBAVFORMAT_IDENT "TEST_AVI_MAKER"
And I build a new libavformat.a as the steps below
1. avi_save/armffmpeg/configure
2. cd libavformat/
3. make
I copy the libavformat.a to the folder /avi_save/lib to replace the original one.
and then do make all at folder avi_save
but there is an error occur, the error message is
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../armv5tl-montavista-linux-gnueabi/bin/ld: skipping incompatible ./lib/libavformat.a when searching for -lavformat
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../armv5tl-montavista-linux-gnueabi/bin/ld: cannot find -lavformat
collect2: ld exit 1
I found that the library file I build is much bigger than the original one,
-rw-r--r--. 1 root root 8400760 2011-05-24 12:32 libavformat.a
-rwxr-xr-x. 1 507 users 105006 2010-09-03 12:00 libavformat.a_original
Can anyone help me to solve this problem?
Thanks.
Regards,
Stevie