diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-03 12:49:12 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-19 18:28:39 +0200 |
commit | 5763e63913940f8d2d2eb8750931e5f12dd2a481 (patch) | |
tree | de3135a0217e5bd13ef75cc49fef86621c21a74a /libavformat/utils.c | |
parent | b4c5acabb90cf8e69db2d9f3210d9fa8a7d55ec6 (diff) | |
download | ffmpeg-5763e63913940f8d2d2eb8750931e5f12dd2a481.tar.gz |
lavf: remove FF_API_SYMVER cruft
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 1359bd3d05..1e70b4f592 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -260,38 +260,6 @@ AVInputFormat *av_find_input_format(const char *short_name) return NULL; } -#if FF_API_SYMVER && CONFIG_SHARED && HAVE_SYMVER -FF_SYMVER(void, av_destruct_packet_nofree, (AVPacket *pkt), "LIBAVFORMAT_52") -{ - av_destruct_packet_nofree(pkt); -} - -FF_SYMVER(void, av_destruct_packet, (AVPacket *pkt), "LIBAVFORMAT_52") -{ - av_destruct_packet(pkt); -} - -FF_SYMVER(int, av_new_packet, (AVPacket *pkt, int size), "LIBAVFORMAT_52") -{ - return av_new_packet(pkt, size); -} - -FF_SYMVER(int, av_dup_packet, (AVPacket *pkt), "LIBAVFORMAT_52") -{ - return av_dup_packet(pkt); -} - -FF_SYMVER(void, av_free_packet, (AVPacket *pkt), "LIBAVFORMAT_52") -{ - av_free_packet(pkt); -} - -FF_SYMVER(void, av_init_packet, (AVPacket *pkt), "LIBAVFORMAT_52") -{ - 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(AVIOContext *s, AVPacket *pkt, int size) { |