[SCM] libav/experimental: fix version protection
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:35:11 UTC 2013
The following commit has been merged in the experimental branch:
commit 8eec0fb674e6271bd3567c58cf86f3e322265f89
Author: Aurelien Jacobs <aurel at gnuage.org>
Date: Tue Jan 13 00:20:18 2009 +0000
fix version protection
Originally committed as revision 16572 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/metadata_compat.c b/libavformat/metadata_compat.c
index 7aef938..a7f2dfe 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 {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list