avformat/oggenc: free buffered page lists while uninitializing the muxer
authorJames Almer <jamrial@gmail.com>
Mon, 21 Oct 2019 02:38:05 +0000 (23:38 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 21 Oct 2019 20:20:58 +0000 (17:20 -0300)
commitcecf29eb1c41b9582355450fd505d865297ae82e
tree50982c8ecdb39df849082c3ad387c78394656361
parentaeb8b65cdf3ede71d0c0781585b2f25aaa864a47
avformat/oggenc: free buffered page lists while uninitializing the muxer

If the trailer is never writen, there could be buffered pages that would leak.

Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/oggenc.c