Tidy up resource management of FFmpegFileEncoders so that they better-butler-errors
authorCarl Hetherington <cth@carlh.net>
Mon, 17 Aug 2020 11:16:48 +0000 (13:16 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 17 Aug 2020 11:17:28 +0000 (13:17 +0200)
commitdfac61382f1719f0a879747de43cbc5f9115c2d7
treee93793ac4d74f060050492905d97ea6156b5883c
parentbd23f55d8cd73adda823d0a2fcabc129b8845a81
Tidy up resource management of FFmpegFileEncoders so that they
are cleaned up correctly when an error occurs.
src/lib/ffmpeg_encoder.cc
src/lib/ffmpeg_encoder.h
src/lib/ffmpeg_file_encoder.cc
src/lib/ffmpeg_file_encoder.h