aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-15 14:25:36 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-15 14:25:36 +0000
commit114c9a592519358a16a6b2b4c8de24cdcb964961 (patch)
treeb5a9e85dd5884da83df3ffc1e6c3133999d017d7 /libavformat/utils.c
parent0139fdea086cc13b83889ea60ff1e8bcf31f0cce (diff)
downloadffmpeg-114c9a592519358a16a6b2b4c8de24cdcb964961.tar.gz
add FF_API_FIRST_FORMAT define to drop deprecated first_?format from public api
Originally committed as revision 25489 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 56bcfc09b4..be475cce7e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -110,8 +110,14 @@ static void av_frac_add(AVFrac *f, int64_t incr)
}
/** head of registered input format linked list */
+#if !FF_API_FIRST_FORMAT
+static
+#endif
AVInputFormat *first_iformat = NULL;
/** head of registered output format linked list */
+#if !FF_API_FIRST_FORMAT
+static
+#endif
AVOutputFormat *first_oformat = NULL;
AVInputFormat *av_iformat_next(AVInputFormat *f)