kylin-screenshot/0002-fix-missing-LIBAVCODEC_VERSION_INT-macro-error.patch

26 lines
733 B
Diff
Raw Normal View History

From f31aa728dc433f457267f45f58618db3c2b34604 Mon Sep 17 00:00:00 2001
From: chenguanglee <lichenguang@kylinos.cn>
Date: Thu, 21 Nov 2024 11:16:04 +0800
Subject: [PATCH] fix missing LIBAVCODEC_VERSION_INT macro error
---
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.43.0