avcodec/mpeg12enc: Add FF_CODEC_CAP_INIT_CLEANUP
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Aug 2019 15:21:00 +0000 (17:21 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Sep 2019 20:43:14 +0000 (22:43 +0200)
commit39ff027fd81185d0f8b4dfd49e709f4d0d44e2de
tree0b45eebdeb09e038235337e428ec7a326790641a
parente1255789941d213a8e193469d0687946c9fa4a63
avcodec/mpeg12enc: Add FF_CODEC_CAP_INIT_CLEANUP

Fixes: Multiple memleaks
Fixes: ffmpeg-memory-leak

Found-by: Francis Provencher <francis@protekresearchlab.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg12enc.c