modify libavformat
Posted: 10 Apr 2014 20:25
Hi,
I finally got VLC for iOS to build, now I am trying to modify the source code from libavformat to do some experiment. However, I don't know how the build script is building the libraries.
Here is my understanding. For example, target for iPhoneSimulator-x86_64
1. The libformat.a file is built from source code in ./MobileVLCKit/ImportedSources/vlc/contrib/tarballs/ffmpeg-HEAD.tar.gz
2. The gz files are unzipped and copied to each target directory. i.e., /MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/ffmpeg/libavformat
3. If I want to rebuild libformat.a, I should delete the files /MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/ffmpeg/libavformat/libavformat.a
However, it seems that deleting the .a file won't let the build script rebuild libavformat for iPhoneSimulator-x86_64.
How do I force libavformat to be rebuilt with my changes?
Thanks
Regards,
Howard
I finally got VLC for iOS to build, now I am trying to modify the source code from libavformat to do some experiment. However, I don't know how the build script is building the libraries.
Here is my understanding. For example, target for iPhoneSimulator-x86_64
1. The libformat.a file is built from source code in ./MobileVLCKit/ImportedSources/vlc/contrib/tarballs/ffmpeg-HEAD.tar.gz
2. The gz files are unzipped and copied to each target directory. i.e., /MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/ffmpeg/libavformat
3. If I want to rebuild libformat.a, I should delete the files /MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/ffmpeg/libavformat/libavformat.a
However, it seems that deleting the .a file won't let the build script rebuild libavformat for iPhoneSimulator-x86_64.
How do I force libavformat to be rebuilt with my changes?
Thanks
Regards,
Howard