kylin-screenshot/0002-fix-build-error-of-kylin-screenshot.patch

26 lines
721 B
Diff
Raw Normal View History

2024-03-29 17:39:58 +08:00
From 223200225c3179362219fa579fd3f2ffadef2ca1 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Fri, 29 Mar 2024 17:38:30 +0800
Subject: [PATCH] fix build error of kylin-screenshot
---
src/common/my_av.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/my_av.h b/src/common/my_av.h
index 0957f37..7f9f9b8 100644
--- a/src/common/my_av.h
+++ b/src/common/my_av.h
@@ -26,7 +26,7 @@ extern "C" {
#include <libavformat/avformat.h>
#include <libavutil/frame.h>
#include <libavutil/mem.h>
-// #include <libavcodec/avcodec.h>
+#include <libavcodec/avcodec.h>
#include <libswscale/swscale.h>
#include <libavutil/pixfmt.h>
#include <libavutil/samplefmt.h>
--
2.25.1