Andreas Rheinhardt 于2020年8月15日周六 上午5:21写道:
>
> 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.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavformat/hls.c | 12 +---
> 1 fi
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.
Signed-off-by: Andreas Rheinhardt
---
libavformat/hls.c | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/lib