Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could only be executed from current directory #7

Open
zhengwx11 opened this issue Aug 23, 2016 · 1 comment
Open

could only be executed from current directory #7

zhengwx11 opened this issue Aug 23, 2016 · 1 comment

Comments

@zhengwx11
Copy link

when ww2ogg is executed from other path, it could not find the right codebook file.
Maybe in the code something like char* filename = './xxx.bin' is used, which, I suppose, is not general enough.

Note:
The path to the program itself is contained in the argv[0]. It could be useful.

@hcs64
Copy link
Owner

hcs64 commented Aug 23, 2016

You're right that it only uses a relative path of "packed_codebooks.bin" which will only work if that's in the working directory.

You can work around this by giving a path with the --pcb option, the readme mentions this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants