File 0001-nvv4l2-add-avcodec-header-for-static-compilation.patch of Package ffmpeg-rpmfusion-static

From 83893efea28b7a394f66031f91cd8e4d7d10f7b8 Mon Sep 17 00:00:00 2001
From: azkali <a.ffcc7@gmail.com>
Date: Sat, 6 Apr 2024 16:03:14 +0200
Subject: [PATCH 1/1] nvv4l2: add avcodec header for static compilation

---
 libavcodec/nvv4l2_dec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/nvv4l2_dec.c b/libavcodec/nvv4l2_dec.c
index 569fa59588..e74333c273 100644
--- a/libavcodec/nvv4l2_dec.c
+++ b/libavcodec/nvv4l2_dec.c
@@ -30,6 +30,8 @@
 #include <fcntl.h>
 #include <errno.h>
 #include "internal.h"
+#include "avcodec.h"
+#include "codec.h"
 #include "codec_internal.h"
 #include "decode.h"
 #include "thread.h"
-- 
2.44.0
openSUSE Build Service is sponsored by