fix version protection

Originally committed as revision 16572 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Aurelien Jacobs 16 years ago
parent af5f434f8c
commit 8eec0fb674
  1. 5
      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 {

Loading…
Cancel
Save