Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

x264 0.118 DOS port (Announce)

posted by RayeR Homepage, CZ, 18.10.2011, 15:09

> strtok should be ANSI C, but "_r" suffix typically means "reentrant", i.e.
> multi-threading aware, possibly from POSIX. (But I'm far far far from a pro
> at C, POSIX, etc., so take it with a grain of salt.)

compilation done but... // forwarding from DJGPP google group:

> If you want less source level changes, you can define a macro,
> something like (untested):

> #define strtok_r(s1,s2,s3) strtok(s1,s2)

Thanks for explanation. I used the macro and it compiled OK. Maybe it
would be usefull to include this macro to djgpp string.h
Unfortunately when I tested compiled x264 to compress sample video it
crashes immediatelly:

C:\X264>X264.EXE -o out.flv example.y4m
y4m [info]: 384x288p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
SSE4.2
x264 [info]: profile High, level 2.1
Exiting due to signal SIGSEGV
General Protection Fault at eip=000d9e10
eax=00a39f10 ebx=00a1fdb0 ecx=000001c0 edx=00a39f10 esi=00226eb0
edi=00226eb0
ebp=00000000 esp=001f3eec program=C:\X264\X264.EXE
cs: sel=01a7  base=029e0000  limit=00acffff
ds: sel=01af  base=029e0000  limit=00acffff
es: sel=01af  base=029e0000  limit=00acffff
fs: sel=017f  base=00005e10  limit=0000ffff
gs: sel=01bf  base=00000000  limit=0010ffff
ss: sel=01af  base=029e0000  limit=00acffff
App stack: [001f4bb8..00174bbc]  Exceptn stack: [00174adc..00172b9c]

(running under XP NTVDM)
maybe it's issue with sse or something else messed up...

I remember that here was some talking about SSE and crashing under DOS but I don't remember the result, any idea?

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22778 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum