]> git.sesse.net Git - ffmpeg/commit
avformat/hls: Remove redundant resetting of AVPacket
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 14 Aug 2020 20:36:22 +0000 (22:36 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 18 Aug 2020 05:02:52 +0000 (07:02 +0200)
commit8c91b5c48a6bf22359d7565f94a12adae24e4719
treee941cd221c7547548adb6126c3d8f631ce92f2be
parentdfc6a9f07543e3c2bf01baaf8459558365f961d2
avformat/hls: Remove redundant resetting of AVPacket

av_read_frame() already returns blank packets on error.

Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/hls.c