diff options
author | James Almer <jamrial@gmail.com> | 2021-05-08 18:36:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-05-08 18:36:31 -0300 |
commit | b4e7fc4b4b4aa71ae6806b57ebe1293239497f71 (patch) | |
tree | 0fa2327854402a693475d03f6f273dcf86c006ab /tests | |
parent | 0a029906b205613c7744bcef4cdda184199dd1a9 (diff) | |
download | ffmpeg-b4e7fc4b4b4aa71ae6806b57ebe1293239497f71.tar.gz |
avcodec/avpacket: use av_malloc() to allocate an AVPacket
av_mallocz() is superfluous as get_packet_defaults() is called immediately
after it's allocated, which will initialize the entire struct to default
values.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions