]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
fix version protection
authoraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 13 Jan 2009 00:20:18 +0000 (00:20 +0000)
committeraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 13 Jan 2009 00:20:18 +0000 (00:20 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16572 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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 {