mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-24 20:01:42 +00:00
uninitialized values used in encoder
This commit is contained in:
parent
3f54fab5f4
commit
335bca4507
@ -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);
|
||||
}
|
||||
|
||||
if (!sub->nb_data)
|
||||
freep(&sub->data);
|
||||
return wrote_something;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user