avformat/utils: optimize ff_packet_list_free()
authorJames Almer <jamrial@gmail.com>
Mon, 26 Mar 2018 18:02:36 +0000 (15:02 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 4 Apr 2018 03:15:38 +0000 (00:15 -0300)
commit58ce4fdeaebce5d9837ebc77e1453e7cf3a5bb1d
tree3e54f1b6af8a5d13f66b5ec85eeb851d0e5efe33
parent3a4d74c1fff8a1c2691ebf0532aa283ca9b4d0d9
avformat/utils: optimize ff_packet_list_free()

Don't constantly overwrite the list's head pointer.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/utils.c