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 7aef938..a7f2dfe 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 {