diff options
author | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-01-25 22:03:28 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-26 22:10:09 +0000 |
commit | c6610a216ed2948885772154a2eed696e0cb4aca (patch) | |
tree | 7ea6d3fdf9a8c957a5e690af2331ab481b1eb141 /libavdevice/alldevices.c | |
parent | 225b6d7fdea370de3723420e6adc2f3192439b00 (diff) | |
download | ffmpeg-c6610a216ed2948885772154a2eed696e0cb4aca.tar.gz |
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
Diffstat (limited to 'libavdevice/alldevices.c')
-rw-r--r-- | libavdevice/alldevices.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavdevice/alldevices.c b/libavdevice/alldevices.c index de3bc82396..ce06bf269c 100644 --- a/libavdevice/alldevices.c +++ b/libavdevice/alldevices.c @@ -23,11 +23,11 @@ #include "avdevice.h" #define REGISTER_OUTDEV(X,x) { \ - extern AVOutputFormat x##_muxer; \ - if(CONFIG_##X##_OUTDEV) av_register_output_format(&x##_muxer); } + extern AVOutputFormat ff_##x##_muxer; \ + if(CONFIG_##X##_OUTDEV) av_register_output_format(&ff_##x##_muxer); } #define REGISTER_INDEV(X,x) { \ - extern AVInputFormat x##_demuxer; \ - if(CONFIG_##X##_INDEV) av_register_input_format(&x##_demuxer); } + extern AVInputFormat ff_##x##_demuxer; \ + if(CONFIG_##X##_INDEV) av_register_input_format(&ff_##x##_demuxer); } #define REGISTER_INOUTDEV(X,x) REGISTER_OUTDEV(X,x); REGISTER_INDEV(X,x) void avdevice_register_all(void) |