aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorTong Wu <tong1.wu@intel.com>2024-03-29 23:31:20 +0800
committerJames Almer <jamrial@gmail.com>2024-03-29 12:35:54 -0300
commit6bf17136a2bc1e6f52ea9cd27a6dcaab648efe5c (patch)
tree5a85b90b41511f99696506ba2301a2b40d2270bd /libavfilter
parentfa110c32b5168d99098dc0c50c6465054cf9d20b (diff)
downloadffmpeg-6bf17136a2bc1e6f52ea9cd27a6dcaab648efe5c.tar.gz
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 <jamrial@gmail.com> Signed-off-by: Tong Wu <tong1.wu@intel.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions