Commit 199193c6 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

adaptive:fakeES: no need to initialize before es_format_Copy

--
replaces https://patches.videolan.org/patch/17293/Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 6377bdec
......@@ -91,7 +91,6 @@ void FakeESOut::setExtraInfoProvider( ExtraFMTInfoInterface *extra )
FakeESOutID * FakeESOut::createNewID( const es_format_t *p_fmt )
{
es_format_t fmtcopy;
es_format_Init( &fmtcopy, 0, 0 );
es_format_Copy( &fmtcopy, p_fmt );
fmtcopy.i_group = 0; /* Always ignore group for adaptive */
fmtcopy.i_id = -1;
......
......@@ -32,7 +32,6 @@ FakeESOutID::FakeESOutID( FakeESOut *fakeesout, const es_format_t *p_fmt )
, p_real_es_id( NULL )
, pending_delete( false )
{
es_format_Init( &fmt, 0, 0 );
es_format_Copy( &fmt, p_fmt );
}
......
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