[FFmpeg-devel] How to debug the macros in ffmpeg?
Sat Jul 11 10:43:51 CEST 2009
learn ffmpeg wrote:
>> There are so many macros in ffmpeg, such as the mc function.
>> And some function definition is written by macros.
>> Would someone give some ideas on tracing the execution of these functions?
Benjamin Larsson wrote:
> IIRC --enable-debug=3 should make it possible to step into macros.
You could also run the C-preprocessor by hand, using gcc -E, and see what
the code looks like afterwards. You can still compile the result and see
what your debugger says when you run it, of course.
All the best,
More information about the ffmpeg-devel