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>
Wed, 17 May 2017 19:27:25 +0000 (16:27 -0300)
commitc54a76bf714b07cf316da06ffeac1a1d753a15f3
treea4ba79a9901001dbcd44c5b50a408ecfd2b0fad1
parent676ba8eff86d2ed1e9eb14d09c87c7ed41cadc7f
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