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

use on architectures with limited resources #2

Open
ztl-daily-learn opened this issue Mar 18, 2021 · 0 comments
Open

use on architectures with limited resources #2

ztl-daily-learn opened this issue Mar 18, 2021 · 0 comments

Comments

@ztl-daily-learn
Copy link

Hi, dlb_mp4demux works well on Linux, but when I want to work on limited resources architectures, such as 1M, how can I deal with it for (atom_size > fs->inbuf_size). In the function file_stream_next_atom, I found a method : fs->inbuf_size = ((size_t)atom_size + fs->buffer_granularity - 1); fs->inbuf_size -= (fs->inbuf_size % fs->buffer_granularity); fs->inbuf = realloc (fs->inbuf, fs->inbuf_size); But if I can not get so much memory, such as 1M, what should I do? Thanks a lot!

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

1 participant