| 1 |
Description: Include subdirs (not main dir) for FFmpeg paths |
| 2 |
Fix include FFmpeg headers from below /usr/include/ffmpeg/<libname> |
| 3 |
(this change requires -I/usr/include/ffmpeg). |
| 4 |
Author: Jonas Smedegaard <[email protected]> |
| 5 |
Bug-Debian: https://bugs.debian.org/531728 |
| 6 |
Last-Update: 2022-01-22 |
| 7 |
--- |
| 8 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 9 |
--- a/channels/console_video.h |
| 10 |
+++ b/channels/console_video.h |
| 11 |
@@ -28,9 +28,9 @@ |
| 12 |
"console {device}" |
| 13 |
#else |
| 14 |
|
| 15 |
|
| 16 |
+#include <libavcodec/avcodec.h> |
| 17 |
#ifndef OLD_FFMPEG |
| 18 |
|
| 19 |
+#include <libswscale/swscale.h> /* requires a recent ffmpeg */ |
| 20 |
#endif |
| 21 |
|
| 22 |
#define CONSOLE_VIDEO_CMDS \ |