Re: [FFmpeg-devel] [PATCH 14/17] avformat/hdsenc: Add explicit deinit function

2020-04-30 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> hdsenc already had an explicit function to free all allocations in case >> of an error, but it was not marked as deinit function, so that it was >> not called automatically when the AVFormatContext for muxing gets freed. >> >> Using an explicit deinit fu

Re: [FFmpeg-devel] [PATCH 14/17] avformat/hdsenc: Add explicit deinit function

2020-04-28 Thread Andreas Rheinhardt
Andreas Rheinhardt: > hdsenc already had an explicit function to free all allocations in case > of an error, but it was not marked as deinit function, so that it was > not called automatically when the AVFormatContext for muxing gets freed. > > Using an explicit deinit function also makes the code