diff options
author | Reinhard Tartler <siretart@tauware.de> | 2010-06-15 13:29:20 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-06-15 13:29:20 +0000 |
commit | 44f91788a5e39478509fc279445ff38fab770bc4 (patch) | |
tree | ad74185a1cc90e811efc21f0dc651b25bd9f7d85 /libavformat | |
parent | 03b47bb8d7364d77a205c6aa2abadfbc6643c702 (diff) | |
download | ffmpeg-44f91788a5e39478509fc279445ff38fab770bc4.tar.gz |
revert r23610, better patch is pending
Originally committed as revision 23612 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 48 |
1 files changed, 1 insertions, 47 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index f8b098156d..e975f5de24 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -282,54 +282,8 @@ AVInputFormat *av_find_input_format(const char *short_name) return NULL; } -#if HAVE_GNU_SYMBOL_VERSIONING && LIBAVFORMAT_VERSION_MAJOR < 53 -/* compatibility trampolines for packet functions */ +/* memory handling */ -void ff_av_destruct_packet_nofree(AVPacket *pkt); -void ff_av_destruct_packet(AVPacket *pkt); -int ff_av_new_packet(AVPacket *pkt, int size); -int ff_av_dup_packet(AVPacket *pkt); -void ff_av_free_packet(AVPacket *pkt); -void ff_av_init_packet(AVPacket *pkt); - -__asm__(".symver ff_av_destruct_packet_nofree,av_destruct_packet_nofree@LIBAVFORMAT_52"); -__asm__(".symver ff_av_destruct_packet,av_destruct_packet@LIBAVFORMAT_52"); -__asm__(".symver ff_av_new_packet,av_new_packet@LIBAVFORMAT_52"); -__asm__(".symver ff_av_dup_packet,av_dup_packet@LIBAVFORMAT_52"); -__asm__(".symver ff_av_free_packet,av_free_packet@LIBAVFORMAT_52"); -__asm__(".symver ff_av_init_packet,av_init_packet@LIBAVFORMAT_52"); - -void ff_av_destruct_packet_nofree(AVPacket *pkt) -{ - av_destruct_packet_nofree(pkt); -} - -void ff_av_destruct_packet(AVPacket *pkt) -{ - av_destruct_packet(pkt); -} - -int ff_av_new_packet(AVPacket *pkt, int size) -{ - return av_new_packet(pkt, size); -} - -int ff_av_dup_packet(AVPacket *pkt) -{ - return av_dup_packet(pkt); -} - -void ff_av_free_packet(AVPacket *pkt) -{ - av_free_packet(pkt); -} - -void ff_av_init_packet(AVPacket *pkt) -{ - av_log(NULL, AV_LOG_WARNING, "diverting av_*_packet function calls to libavcodec. Recompile to improve performance\n"); - av_init_packet(pkt); -} -#endif int av_get_packet(ByteIOContext *s, AVPacket *pkt, int size) { |