[FFmpeg-devel] [PATCH 2/3] ffmpeg: free empty subtitles as well in transcode_subtitles

Marton Balint cus at passwd.hu
Sat Nov 23 20:49:59 CET 2013



On Sat, 23 Nov 2013, Nicolas George wrote:

> Le tridi 3 frimaire, an CCXXII, Marton Balint a écrit :
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  ffmpeg.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> Why? Right now, it is not necessary at all.
>

True, it is only useful for making the code more future proof. I mean,
isn't that how the API is supposed to be used? If I got back an
AVSubtitle, I will have to free it.

Regards,
Marton


More information about the ffmpeg-devel mailing list