mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
### Description When converting between AAC and Opus formats (aac2opus or opus2aac), the `av_frame_get_buffer` API is frequently called. ### Objective The goal is to optimize the code logic and reduce the frequent allocation and deallocation of memory. In the case of aac2opus, av_frame_get_buffer is still frequently called. In the case of opus2aac, the goal is to avoid calling av_frame_get_buffer and reduce memory allocations. ### Additional Note Before calling the `av_audio_fifo_read` API, use `av_frame_make_writable` to check if the frame is writable. If it is not writable, create a new frame. --------- Co-authored-by: john <hondaxiao@tencent.com> |
1 year ago | |
---|---|---|
.. | ||
3rdparty | 1 year ago | |
auto | 1 year ago | |
conf | 1 year ago | |
doc | 1 year ago | |
etc/init.d | 3 years ago | |
gdb | 2 years ago | |
ide/srs_clion | 1 year ago | |
modules | 4 years ago | |
packaging | 2 years ago | |
research | 1 year ago | |
scripts | 2 years ago | |
src | 1 year ago | |
usr/lib/systemd/system | 3 years ago | |
.gitignore | 3 years ago | |
AUTHORS.md | 1 year ago | |
AUTHORS.txt | 4 years ago | |
Dockerfile.builds | 1 year ago | |
Dockerfile.cov | 2 years ago | |
Dockerfile.pkg | 2 years ago | |
Dockerfile.test | 2 years ago | |
configure | 1 year ago |