aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-15 18:25:01 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-15 18:25:01 +0000
commit13728334e8ac3dde15ef23a6a4aa935b3c92fa64 (patch)
tree188851e992b4d3b01a0c7f38c12a0d29fbb3aea9 /libavformat/utils.c
parentad2d0fdf2519a413e8194d8cd641a230c612abc3 (diff)
downloadffmpeg-13728334e8ac3dde15ef23a6a4aa935b3c92fa64.tar.gz
add FF_API_SYMVER define to disable symver compatibility functions
Originally committed as revision 25491 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index be475cce7e..289b91ca78 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -290,7 +290,7 @@ AVInputFormat *av_find_input_format(const char *short_name)
return NULL;
}
-#if LIBAVFORMAT_VERSION_MAJOR < 53 && CONFIG_SHARED && HAVE_SYMVER
+#if FF_API_SYMVER && CONFIG_SHARED && HAVE_SYMVER
FF_SYMVER(void, av_destruct_packet_nofree, (AVPacket *pkt), "LIBAVFORMAT_52")
{
av_destruct_packet_nofree(pkt);