diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 03:20:18 +0300 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 03:20:18 +0300 |
commit | 8eec0fb674e6271bd3567c58cf86f3e322265f89 (patch) | |
tree | 1893e361ecd215c94c8b72ec39efdbe6c90744f1 /libavformat/metadata_compat.c | |
parent | af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe (diff) |
fix version protection
Originally committed as revision 16572 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/metadata_compat.c')
-rw-r--r-- | libavformat/metadata_compat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/metadata_compat.c b/libavformat/metadata_compat.c index 7aef9389ab..a7f2dfea92 100644 --- a/libavformat/metadata_compat.c +++ b/libavformat/metadata_compat.c @@ -18,12 +18,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#if LIBAVFORMAT_VERSION_MAJOR < 53 - #include <strings.h> +#include "avformat.h" #include "metadata.h" #include "libavutil/avstring.h" +#if LIBAVFORMAT_VERSION_MAJOR < 53 + #define SIZE_OFFSET(x) sizeof(((AVFormatContext*)0)->x),offsetof(AVFormatContext,x) static const struct { |