termux-packages/packages/transcode/export-ffmpeg_cfg.c.patch.txt

12 lines
375 B
Plaintext
Raw Normal View History

2022-03-24 20:02:40 +01:00
--- 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},