#include <string.h>
#include <string>
+#include <x264.h>
using namespace std;
if (x264_dir.empty()) {
fprintf(stderr, "ERROR: Requested %d-bit x264, but is not linked to such an x264, and could not find one.\n",
depth);
- exit(1);
+ abort();
}
string x264_10b_string = x264_dir + "/x264-10bit" + x264_suffix;
if (x264_dlhandle == nullptr) {
fprintf(stderr, "ERROR: Requested %d-bit x264, but is not linked to such an x264, and %s would not load.\n",
depth, x264_10b_string.c_str());
- exit(1);
+ abort();
}
dyn.handle = x264_dlhandle;