summaryrefslogtreecommitdiffstats
path: root/mpvcore/encode_lavc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/encode_lavc.c')
-rw-r--r--mpvcore/encode_lavc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/encode_lavc.c b/mpvcore/encode_lavc.c
index ce8d9a8e59..56744d53f0 100644
--- a/mpvcore/encode_lavc.c
+++ b/mpvcore/encode_lavc.c
@@ -20,6 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <libavutil/avutil.h>
#include "encode_lavc.h"
#include "mpvcore/mp_msg.h"
@@ -1033,8 +1034,7 @@ int encode_lavc_getstatus(struct encode_lavc_context *ctx,
return 0;
}
-void encode_lavc_expect_stream(struct encode_lavc_context *ctx,
- enum AVMediaType mt)
+void encode_lavc_expect_stream(struct encode_lavc_context *ctx, int mt)
{
CHECK_FAIL(ctx, );