Commit aeaf15c3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't release an object that was not held, fix crash

This piece of code (transparent UTF-16 to UTF-8 conversion) is wrong in
many ways though. This really does NOT belong here, and should be done
in the subsdec plugin instead.

This fixes a regression from [0d1f966a]
parent be54453c
......@@ -1547,7 +1547,6 @@ char *stream_ReadLine( stream_t *s )
{
var_Create( p_input, "subsdec-encoding", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
var_SetString( p_input, "subsdec-encoding", "UTF-8" );
vlc_object_release( p_input );
}
}
}
......
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