[FFmpeg-cvslog] r16572 - trunk/libavformat/metadata_compat.c
aurel
subversion
Tue Jan 13 01:20:19 CET 2009
Author: aurel
Date: Tue Jan 13 01:20:18 2009
New Revision: 16572
Log:
fix version protection
Modified:
trunk/libavformat/metadata_compat.c
Modified: trunk/libavformat/metadata_compat.c
==============================================================================
--- trunk/libavformat/metadata_compat.c Tue Jan 13 01:14:43 2009 (r16571)
+++ trunk/libavformat/metadata_compat.c Tue Jan 13 01:20:18 2009 (r16572)
@@ -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 {
More information about the ffmpeg-cvslog
mailing list