qsvenc: mark the encoders as INIT_CLEANUP
authorAnton Khirnov <anton@khirnov.net>
Wed, 5 Aug 2015 11:42:08 +0000 (13:42 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 28 Sep 2015 13:43:04 +0000 (15:43 +0200)
commit5d2daebf3cc8de4cee1973db6a2229beaad3b7cd
tree39dba23377bbdeb9b7adb901215fec3d270f9b7c
parent83847cc8fa97e0fc637a0962bafb837acdb6eacc
qsvenc: mark the encoders as INIT_CLEANUP

Should fix some leaks on init failure.
libavcodec/qsvenc_h264.c
libavcodec/qsvenc_hevc.c
libavcodec/qsvenc_mpeg2.c