mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.1
parent
fa110c32b5
commit
6bf17136a2
2 changed files with 18 additions and 5 deletions
Loading…
Reference in new issue