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.
When converting between AAC and Opus formats (aac2opus or opus2aac), the `av_frame_get_buffer` API is frequently called. 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. 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 | |
---|---|---|
.. | ||
apps.sh | 2 years ago | |
auto_headers.sh | 2 years ago | |
codecov.sh | 2 years ago | |
depends.sh | 1 year ago | |
local_ip.sh | 11 years ago | |
modules.sh | 2 years ago | |
options.sh | 1 year ago | |
reset_module.sh | 4 years ago | |
setup_variables.sh | 2 years ago | |
summary.sh | 2 years ago | |
utest.sh | 2 years ago |