--- 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},
