diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2006-09-08 12:12:38 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2006-09-08 12:12:38 +0000 |
commit | 57c244f6c7027865b9f619419e41fec65f48d03c (patch) | |
tree | b652b01e47ec02c873358c71b35cb4524ba362e6 | |
parent | 7b95bc58426ee1ba73e74d3c078e1e81261c14a3 (diff) | |
download | ffmpeg-57c244f6c7027865b9f619419e41fec65f48d03c.tar.gz |
makes avformat_get_context_defaults() static
when the next compatibility breaking change occurs, as suggested by
Michael Niedermayer here:
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/36377
Patch by Takis
Original thread:
Date: Sep 8, 2006 11:19 AM
Subject: [Ffmpeg-devel] [PATCH] Make avformat_get_context_defaults static
Originally committed as revision 6195 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index ea447c1fa7..cb793435fb 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -474,6 +474,9 @@ static const AVOption options[]={ static const AVClass av_format_context_class = { "AVFormatContext", format_to_name, options }; +#if LIBAVCODEC_VERSION_INT > ((52<<16)+(0<<8)+0) +static +#endif void avformat_get_context_defaults(AVFormatContext *s){ memset(s, 0, sizeof(AVFormatContext)); |