mirror of https://git.ffmpeg.org/ffmpeg.git
fix version protection
Originally committed as revision 16572 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
af5f434f8c
commit
8eec0fb674
|
@ -18,12 +18,13 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if LIBAVFORMAT_VERSION_MAJOR < 53
|
|
||||||
|
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
#include "avformat.h"
|
||||||
#include "metadata.h"
|
#include "metadata.h"
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
|
|
||||||
|
#if LIBAVFORMAT_VERSION_MAJOR < 53
|
||||||
|
|
||||||
#define SIZE_OFFSET(x) sizeof(((AVFormatContext*)0)->x),offsetof(AVFormatContext,x)
|
#define SIZE_OFFSET(x) sizeof(((AVFormatContext*)0)->x),offsetof(AVFormatContext,x)
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
|
|
Loading…
Reference in New Issue