Browse Source

fix version protection

Originally committed as revision 16572 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 17 years ago
parent
commit
8eec0fb674
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      libavformat/metadata_compat.c

+ 3
- 2
libavformat/metadata_compat.c View File

@@ -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