File 0005-avcodec-include.patch of Package moc

From d75ef5832592c796b45018e81c939c375c1326b4 Mon Sep 17 00:00:00 2001
From: John Fitzgerald <mocmaint@daper.net>
Date: Sat, 25 Jun 2022 13:15:37 +0300
Subject: [PATCH 1/3] avcodec include

Signed-off-by: Elimar Riesebieter <riesebie@lxtec.de>
---
 decoder_plugins/ffmpeg/ffmpeg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c
index c043b5a..f5ea484 100644
--- a/decoder_plugins/ffmpeg/ffmpeg.c
+++ b/decoder_plugins/ffmpeg/ffmpeg.c
@@ -32,6 +32,7 @@
 #include <stdint.h>
 #include <errno.h>
 
+#include <libavcodec/avcodec.h>
 #include <libavformat/avformat.h>
 #include <libavutil/mathematics.h>
 #if HAVE_LIBAVUTIL_CHANNEL_LAYOUT_H
-- 
2.36.1

openSUSE Build Service is sponsored by