fix version protection
authorAurelien Jacobs <aurel@gnuage.org>
Tue, 13 Jan 2009 00:20:18 +0000 (00:20 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Tue, 13 Jan 2009 00:20:18 +0000 (00:20 +0000)
Originally committed as revision 16572 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/metadata_compat.c

index 7aef9389ab427f156d945bc36410f15b2f21eed9..a7f2dfea92d394f6138a120b0891e3b404d69509 100644 (file)
  * 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 {