Commit e2be1400 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix compiler warnings in modules/codec/ffmpeg/mux.c. Please test.

parent 6f593e41
......@@ -148,7 +148,7 @@ int E_(OpenMux)( vlc_object_t *p_this )
return VLC_EGENERIC;
}
p_sys->oc->pb = p_sys->io;
p_sys->oc->pb = &p_sys->io;
p_sys->oc->nb_streams = 0;
p_sys->b_write_header = VLC_TRUE;
......@@ -389,12 +389,12 @@ static int Mux( sout_mux_t *p_mux )
if( av_write_header( p_sys->oc ) < 0 )
{
msg_Err( p_mux, "could not write header" );
p_sys->b_write_header = VLC_FALSE;
p_sys->b_write_header = VLC_FALSE;
p_sys->b_error = VLC_TRUE;
return VLC_EGENERIC;
}
put_flush_packet( &p_sys->oc->pb );
put_flush_packet( p_sys->oc->pb );
p_sys->b_write_header = VLC_FALSE;
}
......
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