termux-packages/packages/transcode/export-ffmpeg_cfg.c.patch.txt
2022-03-26 06:12:26 +09:00

12 lines
375 B
Plaintext

--- a/export/ffmpeg_cfg.c
+++ b/export/ffmpeg_cfg.c
@@ -125,7 +125,7 @@
//int lavc_param_abitrate = 224;
char *lavc_param_video_preset = "none";
-char *lavc_param_ffmpeg_datadir = "/usr/share/ffmpeg";
+char *lavc_param_ffmpeg_datadir = "@TERMUX_PREFIX@/share/ffmpeg";
TCConfigEntry lavcopts_conf[]={
// {"acodec", &lavc_param_acodec, TCCONF_TYPE_STRING, 0, 0, 0},