Commit e09289ed authored by Thomas Guillem's avatar Thomas Guillem

avformat: add missing vlc_input_attachment_New() error handling

parent 99e85d08
......@@ -462,6 +462,7 @@ int OpenDemux( vlc_object_t *p_this )
p_attachment = vlc_input_attachment_New(
filename->value, "application/x-truetype-font",
NULL, cc->extradata, (int)cc->extradata_size );
if( p_attachment )
TAB_APPEND( p_sys->i_attachments, p_sys->attachments,
p_attachment );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment