diff options
author | Tong Wu <[email protected]> | 2024-03-29 23:31:20 +0800 |
---|---|---|
committer | James Almer <[email protected]> | 2024-03-29 12:35:54 -0300 |
commit | 6bf17136a2bc1e6f52ea9cd27a6dcaab648efe5c (patch) | |
tree | 5a85b90b41511f99696506ba2301a2b40d2270bd /doc/examples/README | |
parent | fa110c32b5168d99098dc0c50c6465054cf9d20b (diff) |
avcodec/hevc_ps: fix the problem of memcmp losing effectiveness
HEVCHdrParams* receives a pointer which points to a dynamically
allocated memory block. It causes the memcmp always returning 1.
Add a function to do the comparision. A condition is also added to
avoid malloc(0).
Reviewed-by: James Almer <[email protected]>
Signed-off-by: Tong Wu <[email protected]>
Signed-off-by: James Almer <[email protected]>
Diffstat (limited to 'doc/examples/README')
0 files changed, 0 insertions, 0 deletions