Commit c83d4a8d authored by Rafaël Carré's avatar Rafaël Carré

x264: remove double assignement

parent 14c1270b
...@@ -1260,9 +1260,6 @@ static int Open ( vlc_object_t *p_this ) ...@@ -1260,9 +1260,6 @@ static int Open ( vlc_object_t *p_this )
} }
/* get the globals headers */ /* get the globals headers */
p_enc->fmt_out.i_extra = 0;
p_enc->fmt_out.p_extra = NULL;
p_enc->fmt_out.i_extra = x264_encoder_headers( p_sys->h, &nal, &i_nal ); p_enc->fmt_out.i_extra = x264_encoder_headers( p_sys->h, &nal, &i_nal );
p_enc->fmt_out.p_extra = malloc( p_enc->fmt_out.i_extra ); p_enc->fmt_out.p_extra = malloc( p_enc->fmt_out.i_extra );
if( !p_enc->fmt_out.p_extra ) if( !p_enc->fmt_out.p_extra )
......
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