avformat/utils: free AVStream.codec properly in free_stream()
authorAaron Levinson <alevinsn@aracnet.com>
Fri, 21 Apr 2017 06:30:13 +0000 (23:30 -0700)
committerJames Almer <jamrial@gmail.com>
Sat, 6 May 2017 20:30:18 +0000 (17:30 -0300)
commit329176adc52c51878160530a655f9c787fa338b3
tree34c5ccc2d4b012bc1dc547dc56024867564ab0c8
parent8119efdbec1fa3d10031a83ad5a43bd4999ae7c2
avformat/utils: free AVStream.codec properly in free_stream()

Fixes memory leaks.

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit b9d2005ea5d6837917a69bc2b8e98f5695f54e39)
libavformat/utils.c