commit | fef966515c1e8a4f18a9fea436707699a6b50c55 | [log] [tgz] |
---|---|---|
author | Ram Mohan <ram.mohan@ittiam.com> | Thu Sep 28 18:51:50 2023 +0530 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Sep 28 07:24:09 2023 -0700 |
tree | bc862522fc1aebdca4dbb779c9ffac9e4d63c7a8 | |
parent | f1f3a33bc416e4aabf306db693d5d873b1c32d2f [diff] |
avcenc: Fix Crash for 422 ILE inputs The input buffers allocated for 422 formats is less by a chroma plane. This causing memory over writes and results in crash while freeing
Supports:
Use the following commands for building on the target machine
$ cd external/libavc $ mkdir build $ cd build $ cmake .. $ make
$ cd external/libavc $ mkdir build $ cd build $ CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" cmake .. $ make
Update ‘CMAKE_C_COMPILER’, ‘CMAKE_CXX_COMPILER’, ‘CMAKE_C_COMPILER_AR’, and ‘CMAKE_CXX_COMPILER_AR’ in CMAKE_TOOLCHAIN_FILE passed below
$ cd external/libavc $ mkdir build $ cd build
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake $ make
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake $ make