diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-14 22:59:57 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-18 07:03:00 +0200 |
commit | 97d802914994b29eba97dc49e35e8ed60b5b8ae3 (patch) | |
tree | 7f00ce15af3d3163d2078ce0c51f2cc0a4ed94a0 /libavcodec/adpcm_data.c | |
parent | 8c91b5c48a6bf22359d7565f94a12adae24e4719 (diff) | |
download | ffmpeg-97d802914994b29eba97dc49e35e8ed60b5b8ae3.tar.gz |
avformat/hls: Use av_init_pkt() directly
and remove reset_packet(). The packet's data pointer is already zeroed,
so the only thing that reset_packet() does that av_init_pkt() doesn't is
redundant.
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/adpcm_data.c')
0 files changed, 0 insertions, 0 deletions