diff --git a/cmd/ffmpeg b/cmd/ffmpeg index bd18479..be4f3e9 100755 --- a/cmd/ffmpeg +++ b/cmd/ffmpeg @@ -9,5 +9,4 @@ for LIB_DIR in $BASE_DIR/lib/{$ABIS}; do unset -v LIB_DIR done -LD_LIBRARY_PATH=$LIB_DIR:/system/lib64:/system/lib:/etc/lib \ -app_process -Djava.class.path=$BASE_DIR/classes.dex /sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@" +app_process -Djava.class.path=$BASE_DIR/classes.dex -Djava.library.path=$LIB_DIR /sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@" diff --git a/cmd/ffprobe b/cmd/ffprobe index 62246f8..8107335 100755 --- a/cmd/ffprobe +++ b/cmd/ffprobe @@ -9,5 +9,4 @@ for LIB_DIR in $BASE_DIR/lib/{$ABIS}; do unset -v LIB_DIR done -LD_LIBRARY_PATH=$LIB_DIR:/system/lib64:/system/lib:/etc/lib \ -app_process -Djava.class.path=$BASE_DIR/classes.dex /sdcard ua.pp.antonlyap.ffmpeg.CLI ffprobe "$@" +app_process -Djava.class.path=$BASE_DIR/classes.dex -Djava.library.path=$LIB_DIR /sdcard ua.pp.antonlyap.ffmpeg.CLI ffprobe "$@"