mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-24 11:53:25 +00:00
Merge branch 'pr/n89_anshul1912'
This commit is contained in:
commit
22f620400a
@ -378,7 +378,7 @@ int encode_sub(struct encoder_ctx *context, struct cc_subtitle *sub)
|
||||
if (ccx_options.gui_mode_reports)
|
||||
write_cc_buffer_to_gui(sub->data, context);
|
||||
}
|
||||
|
||||
freep(&sub->data);
|
||||
if (!sub->nb_data)
|
||||
freep(&sub->data);
|
||||
return wrote_something;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user