gcc complie ffmpeg strange problem

1. a strange problem

when I inserted a new function without static modifier into mpegts.c

and I compiled ffmpeg with enable-shared option. But be strange,

The dynamic library (libavformat.so) says the function is local,

however the static library (libavformat.a) says the function is global.

你可能感兴趣的:(gcc)