Mercurial > libavutil.hg
comparison internal.h @ 941:1f17993c2baa libavutil
Add compatibility wrappers for functions moved from lavf to lavc
When symbol versioning is enabled, moving symbols from one library to
another breaks binary compatibility. This adds wrappers with the old
version tag for the av_*packet functions recently moved to lavc.
author | mru |
---|---|
date | Tue, 15 Jun 2010 13:26:52 +0000 |
parents | 074893f9f95e |
children | c8b09f0c66a0 |
comparison
equal
deleted
inserted
replaced
940:fc75699d2910 | 941:1f17993c2baa |
---|---|
194 # define NULL_IF_CONFIG_SMALL(x) NULL | 194 # define NULL_IF_CONFIG_SMALL(x) NULL |
195 #else | 195 #else |
196 # define NULL_IF_CONFIG_SMALL(x) x | 196 # define NULL_IF_CONFIG_SMALL(x) x |
197 #endif | 197 #endif |
198 | 198 |
199 #if HAVE_SYMVER_ASM_LABEL | |
200 # define FF_SYMVER(type, name, args, ver) \ | |
201 type ff_##name args __asm__ (#name "@" ver); \ | |
202 type ff_##name args | |
203 #elif HAVE_SYMVER_GNU_ASM | |
204 # define FF_SYMVER(type, name, args, ver) \ | |
205 __asm__ (".symver ff_" #name "," #name "@" ver); \ | |
206 type ff_##name args; \ | |
207 type ff_##name args | |
208 #endif | |
209 | |
199 #endif /* AVUTIL_INTERNAL_H */ | 210 #endif /* AVUTIL_INTERNAL_H */ |