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, 20 May 2017 02:37:49 +0000 (23:37 -0300)
commit0109a152a1651d520788000bed5ce096b515de3d
tree1b45bf3670d5381837a97ed3148a7e82a2e56ede
parent1c302b606e0fd86dd0ac1ff66e56a1f7d321d7e1
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