Fix compat missing include

The header libavformat/version.h was included, but not
libavcodec/version.h.

As a consequence, the LIBAVCODEC_VERSION_INT definition depended on the
caller includes.
This commit is contained in:
Romain Vimont 2021-01-08 19:21:54 +01:00
parent 1e215199dc
commit 037be4af21

View file

@ -1,6 +1,7 @@
#ifndef COMPAT_H
#define COMPAT_H
#include <libavcodec/version.h>
#include <libavformat/version.h>
#include <SDL2/SDL_version.h>