Add check for av_packet_new_side_data() to avoid null pointer
dereference if allocation fails.
Fixes: bdc1220eeb
("h263enc: Add an option for outputting info about MBs as side data")
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@outlook.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
release/7.1
parent
5d54a25eea
commit
4065ff69a2
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue