Commit 8f9decca authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

demux:mp4: don't init an es_format_t before calling es_format_Copy()

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent a78c0dc0
......@@ -3150,7 +3150,6 @@ static void MP4_TrackRestart( demux_t *p_demux, mp4_track_t *p_track,
es_format_t fmtbackup;
es_out_id_t *p_es_backup = p_track->p_es;
p_track->p_es = NULL;
es_format_Init( &fmtbackup, UNKNOWN_ES, 0 );
es_format_Copy( &fmtbackup, &p_track->fmt );
es_format_Clean( &p_track->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